News:

Looking for documentation? Take a look on our wiki

Main Menu

Display a reflection effect and custom background to products

Started by Peka, November 13, 2013, 11:24:33 AM

Previous topic - Next topic

Peka

Hi everyone,

I want to display a reflection effect and a background image to a custom transparant png in my product and category detail page.  I am using  the reflection.js script but I can't find where to put the class="reflect" command.

Thx

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Peka

Yes I did and it works on every image except the ones which are dynamically created in the VM product and category pages.

jenkinhill

The default VM template view files containing image display are components/com_virtuemart/views/category/tmpl/default.php and components/com_virtuemart/views/productdetails/tmpl/default_images.php so you can experiment adding your class in those. Use the edited files as overrides.

If you already use template overrides then you will have to edit those files.

You will need to test for JavaScript conflict with VM's fancybox script.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum