![]() |
Alternate background shades for each product...
Can anyone please suggest how i can insert a alternate background color for each product in the central product list on the customer page. The way my website is setup it is hard to differentiate information of one product from the next since the background is a standard white throughout.
Thanks in advance for your help |
Re: Alternate background shades for each product...
backup your files before trying this since i am just going off the top of my head...
in products_t.tpl, before {/section}, add </div> and right after {section name=product loop=$products} add: Code:
{if %product.index% is even} Code:
.shaded { |
Re: Alternate background shades for each product...
The above code did not do it.
Can anyone else please help out on this....Thx |
Re: Alternate background shades for each product...
I put a border around mine...
edit the css... .PListCell { BACKGROUND-COLOR: #ffffff; TEXT-ALIGN: center; PADDING: 10px; VERTICAL-ALIGN: top; border: 1px solid #7289A8; } I don't use the same layout as you but I'm sure you can figure it out. |
Re: Alternate background shades for each product...
Quote:
you may have to remove ' class="DialogBox" ' in the TD Code:
<TD align="center" valign="top" width="{$width}%" class="DialogBox"> again, backup your files before you try the above mod note: you may need to edit products.tpl instead if you only have a 1 column setup |
All times are GMT -8. The time now is 02:36 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.