Forums / Templates, Stylesheets, Page Layout / product list background color

product list background color

Locked

Views: 1,813

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
25 Jun 2006, 8:57 AM
#1
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

product list background color

I am experminting with 1.3. and see that product lists are not alternating colors in some templates. If we go without tables as zen cart is inclined, how does one get this look back. Forgive me as I have no idea what I am doing, just trying to get there from here. And I am just assuming it has to do with tables.

I found this thread for an answer to 1.2x versions in archive.

http://www.zen-cart.com/forum/showthread.php?t=22558&highlight=product+list+background+color

But I find nothing in the style sheet simalar to this post suggestion, (but that could be just me, I'm on "few" beers by now, and its almost 2 am here)

Wade

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

25 Jun 2006, 9:19 AM
#2
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

Re: product list background color

oh, and before I go get another refreshing beverage, I do know that the Classic template has alternating colors in its product list.

But I heard this conspiracy theory that it has those dreaded tables, a half breed do everything for everybody template (no insult intended to the code work, much respect is intended to the hard work) . So I did not want to learn on this classic template.

I am trying the Custom, blue theme and Future Zen so far. Forgive me for not giving credit to you who put these togeather, I can barley spell as it is.

And why I am focusing on these colors is beyond me, as I have much more inportant things to fix. But I am sure there are many out there who understand where I am.

Wade

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

25 Jun 2006, 9:42 AM
#3
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: product list background color

in your stylesheet.css you will need to add the following selectors.

productListing-odd {background-color: #whatevercolor;}
productListing-even {background-color #whatevercolor;}

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

25 Jun 2006, 9:42 AM
#4
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: product list background color

Add following to stylesheet of template being used.. One below
have designed for Future Zen

.productListing-odd {
	background-color: #E5EDF5;
	height: 1.5em;
	vertical-align: top;
	}

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

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

25 Jun 2006, 10:11 AM
#5
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

Re: product list background color

well.... Thank you!, already tried the code copy and paste and it works great.

Now I can goes to sleep with a good feeling of new acomplishment for this day with your kind productive and quick responses. I quess I am not the only one up so late.

Thanks again

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

25 Jun 2006, 10:19 AM
#6
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: product list background color

I quess I am not the only one up so late.
HeHe!! A very sunny, warm Sunday morning here in UK, glad to hear
you got css code working
:wink2:

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others