Forums / Templates, Stylesheets, Page Layout / New Products Category Box

New Products Category Box

Started by trevorj on 22 Nov 2011, 2:47 PM · Views: 487

Results 1 to 4 of 4
22 Nov 2011, 2:47 PM
#1
trevorj avatar

trevorj

New Zenner

Join Date:
Nov 2011
Posts:
15
Plugin Contributions:
0

New Products Category Box

Hi All,

New to Zen Cart and im slowly finding my way around! I'm using version 1.5.

My problem is that on my Main Page the background colour of the 'New Products for November' section doesnt remain the same. There are white sections above and below the products. Im guessing this is due to margins/padding in the stylesheet.css, however I just cant resolve it. If anyone could help or give me a few pointers i would be very grateful:bigups:
http://www.sportsbooks.ie/shop
Thanks,
Trevor

22 Nov 2011, 3:37 PM
#3
stevesh avatar

stevesh

Black Belt

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

Re: New Products Category Box

It's here:

.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew {
background-color: #e7efeb; margin: 1em 0em;
}

Change that to #ffffff if you want it all white, or:

#whatsNew {background-color: #e7efeb;}

if you want it all the other color.

23 Nov 2011, 10:39 AM
#4
trevorj avatar

trevorj

New Zenner

Join Date:
Nov 2011
Posts:
15
Plugin Contributions:
0

Re: New Products Category Box

Thanks so much for your help guys! :clap:

The following worked for me if anyone else has this problems at around line 520 of stylesheet:

background-color: #e7efeb; 
margin: 1em 0em;
}
#whatsNew {background: #e7efeb;}