X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   4.1.2 Products in Multiple Columns -Table Background Problem (https://forum.x-cart.com/showthread.php?t=24089)

Steve-C 08-14-2006 09:20 AM

4.1.2 Products in Multiple Columns -Table Background Problem
 
Hi All

This is re: v4.1.2

I have an image on the background of my shop pages and when selecting to display Products in either 2 or 3 colums I get a table with a white background to the cells which is not what I want.

I would like to make the white background transparent and I have edited the class .PListCell in CSS which has done the trick......... Except where there are insufficient products to complete the table row and there I get an empty white cell(s).

Anyone know how to fix this, please? I can't seem to find what controls it.

Thanks
Steve

balinor 08-15-2006 03:26 AM

Moving to Template Editing. In products_t.tpl, there is a piece of code near the end that controlls the 'filler' table cells, the ones with no product in them. By default I believe it is:

<td class="SectionBox"></td>

Remove the class for the box, or change the class in skin1.css.

Steve-C 08-15-2006 03:37 AM

Many thanks for the reply.

I had actually changed .SectionBox in CSS by adding "BACKGROUND-COLOR: TRANSPARENT;" and it was ignored.

I have done as you said and removed the SectionBox class statement from products_t.tpl and now it works fine.

Great stuff.

Steve


All times are GMT -8. The time now is 02:08 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.