Forums / Templates, Stylesheets, Page Layout / Change background color of shopping cart sidebox header?

Change background color of shopping cart sidebox header?

Locked

Started by sunflowertami on 15 Jun 2008, 7:31 PM · Views: 3,295

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
15 Jun 2008, 7:31 PM
#1
sunflowertami avatar

sunflowertami

Zen Follower

Join Date:
Jun 2008
Posts:
267
Plugin Contributions:
0

Change background color of shopping cart sidebox header?

Hello!!

Would someone please point me to the right direction in changing the background color of the shopping cart sidebox header?

I'm not real good with css and I know it has something to do with

h3.rightBoxHeading {
background: #color;
}

I can't seem to get the right syntax to zero in on the shopping cart header only.

Many thanks in advance!!

15 Jun 2008, 8:07 PM
#2
batteryman avatar

batteryman

Zen Follower

Join Date:
Jul 2004
Location:
Las Vegas
Posts:
327
Plugin Contributions:
0

Re: Change background color of shopping cart sidebox header?

Look in stylesheet.css approximately line 557

This is what you will want to change..

.leftBoxHeading, .centerBoxHeading, .rightBoxHeading {
background-color:#003399;
margin:0em;
padding:0.5em 0.2em;
}

Here's a handy tip for coding css. If you use Firefox you can add an addon utility called firebug which will allow you to right click on a element and access it css, html and other info to help you decipher what needs to be changed and where to find it

User of zencart

15 Jun 2008, 8:25 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Change background color of shopping cart sidebox header?

To target the shopping cart only, add this to your stylesheet:```
#shoppingcartHeading {background-color:#003399;}

15 Jun 2008, 8:42 PM
#4
batteryman avatar

batteryman

Zen Follower

Join Date:
Jul 2004
Location:
Las Vegas
Posts:
327
Plugin Contributions:
0

Re: Change background color of shopping cart sidebox header?

Ah! Good point, did not pay attention to which sidebox was referred too.

Thanks for followup

User of zencart

16 Jun 2008, 12:19 AM
#5
sunflowertami avatar

sunflowertami

Zen Follower

Join Date:
Jun 2008
Posts:
267
Plugin Contributions:
0

Re: Change background color of shopping cart sidebox header?

Thank you!! I was making all sorts of combination to get that and it was just one simple div class! I also was able to change background of shopping cart with same concept. Thanks again!:clap: