Forums / Setting Up Categories, Products, Attributes / All Products and Shopping Cart contents even/odd color problem

All Products and Shopping Cart contents even/odd color problem

Started by kahunah on 21 Apr 2012, 8:36 PM · Views: 1,349

Results 1 to 3 of 3
21 Apr 2012, 8:36 PM
#1
kahunah avatar

kahunah

New Zenner

Join Date:
Apr 2012
Posts:
8
Plugin Contributions:
0

All Products and Shopping Cart contents even/odd color problem

I think I got a little too agressive and managed to mess up the alternating background colors on the All Products Page and the items that get placed in the shopping cart.

http://uniqueideasnmore.com/shopping/index.php?main_page=products_all

As you can see, the even numbered rows have a black background, making the text impossible to read.

I've search the threads and cannot manage to find anything that would help to remedy the problem.
I am using a modified "A Pink Boutique" template, and my stylesheet has the contains the following code that may, or may not, be relevant:

/bof product listing display/
.productListing-even {background-color: #FFFFFF; border-bottom: 1px solid #000000; border-top: 1px solid #000000;}
.productListing-odd {background-color: #FFFFFF; border-bottom: 1px solid #000000; border-top: 1px solid #000000;}

/bof generic classes/

.rowOdd {background-color: #FFFFFF; height: 1.5em; vertical-align: top;}
.rowEven {background-color: #FFFFFF; height: 1.5em; vertical-align: top;}

Any guidance would be greatly appreciated.

21 Apr 2012, 9:33 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: All Products and Shopping Cart contents even/odd color problem

In stylesheet-working.css:

.productListing-even {background-color: #000000; border-bottom: 1px solid #000000; border-top: 1px solid #000000;}

Zencart loads all stylesheets whose name begins with 'style' and that have the extension .css that it finds in the current template's css folder. If you, for some reason, want to have unused stylesheets in that folder, name them something like stylesheet.working.

21 Apr 2012, 9:53 PM
#3
kahunah avatar

kahunah

New Zenner

Join Date:
Apr 2012
Posts:
8
Plugin Contributions:
0

Re: All Products and Shopping Cart contents even/odd color problem

Thanks much! :smile:

You just taught this newbie to CSS a very important lesson. Getting rid of my improperly renamed backup fixed the problem.

It will probably help me fix some of the other little things for which no change to the stylesheet.css seemed to have no effect.

Thaks again for such a timely response.