Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / add a background to product listings

add a background to product listings

Locked

Views: 502

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
4 Nov 2010, 7:15 PM
#1
barendfaber avatar

barendfaber

Zen Follower

Join Date:
Apr 2010
Posts:
263
Plugin Contributions:
0

add a background to product listings

hi,

i have now tried virtually every recommendation on the forum and nothing seems to work. i am trying to add a background image to my products listings, to give a border around the product pic, name, price and add to cart. can anyone help with the code to do this on my stylesheet please?

4 Nov 2010, 7:59 PM
#3
stevesh avatar

stevesh

Black Belt

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

Re: add a background to product listings

Use the example in the body tag in stylesheet.css and add your image to .centerColumn.

4 Nov 2010, 8:57 PM
#4
barendfaber avatar

barendfaber

Zen Follower

Join Date:
Apr 2010
Posts:
263
Plugin Contributions:
0

Re: add a background to product listings

this does not seem to be working, i added the following to my stylesheet:

.centerColumn {
margin: 0;
background: url("../images/productlistingbg.gif") repeat-x 0 0;
}

please see result

5 Nov 2010, 10:34 AM
#5
stevesh avatar

stevesh

Black Belt

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

Re: add a background to product listings

I thought you wanted something different.

I can't test this in Web Developer, but you might try adding the background image to .categoryListBoxContents img