| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
change image class on recently viewed thumbnails | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
I have changed the class for product thumbnail images, however I would like to apply a different class on the small thumbnails that appear under the recently viewed menu.
I'm not sure what the conditional statement would be in the product_thumbnail template to achieve this?
__________________
X-Cart Gold 4.4.4 |
|||||||
|
#2
|
|||||||
|
|||||||
|
nevermind...figured it out:
{if $active_modules.Recently_Viewed} {/if}
__________________
X-Cart Gold 4.4.4 |
|||||||
|
#3
|
|||||||
|
|||||||
|
Well...I guess that wasn't it. If anyone knows, I'd appreciate the help...thanks.
__________________
X-Cart Gold 4.4.4 |
|||||||
|
#4
|
|||||||||
|
|||||||||
|
On the light and lucid demo, there already is a class for the div that contains the recently viewed section: .menu-rviewed-section
So, you might not have to add a new one specifically for the image. You can see if it is there on your version/template. Then you could try using something like: .menu-rviewed-section img ---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
|
#5
|
|||||||
|
|||||||
|
Thanks....that more or less worked.
__________________
X-Cart Gold 4.4.4 |
|||||||
![]() |
|
| Thread Tools | Search this Thread |
|
|
|
|
|||
|
X-Cart forums © 2001-2020
|
|||