Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Individual Shopping Cart Heading color

Individual Shopping Cart Heading color

Locked

Views: 1,685

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
26 Jun 2009, 7:03 PM
#1
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Individual Shopping Cart Heading color

Hi there,

I am trying to make the shopping cart heading text a different color from the rest of the sidebox titles. You can see the site at https://www.chrissyslane.com. The heading text is currently white like the other right sideboxes, but I want it to be a darker color. I currently have this in my stylesheet:

#shoppingcart.rightBoxContainer {
background-color: #eedac1;
border: 1px solid #000000;
}

#shoppingcartHeading {
background-color: #eedac1;
color: #705739;
}

#shoppingcartContent {
background-color: #eedac1;
color: #705739;
}

That code worked perfectly to change the background color and add a border, but I just can't seem to get the heading text to change. I've played around with the code for awhile and I just can't figure it out. If anyone can point me in the right direction I would really appreciate it!

TIA!

26 Jun 2009, 10:04 PM
#2
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Individual Shopping Cart Heading color

You might find it easy to edit the PHP file that's generating the sidebox.... you'd find it easy if you gave this box heading a different class. At the moment, it's using class="rightBoxHeading" which means it's governed by all h3 .rightBoxHeading styling....

Just find the PHP that's giving it the class="rightBoxHeading" and change it to something like class="myShoppingCartHeading"..... then you'll be able to style it in your stylesheet with .h3 myShoppingCartHeading {color:#000;} or whatever.....

9 Jan 2010, 11:18 PM
#3
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Individual Shopping Cart Heading color

I still have not been able to accomplish this. Which PHP file would be generating the sidebox? I need to change the heading color of both the Categories sidebox and the Featured products sidebox now. I have checked both of the respective files in the includes/modules/sideboxes directory, but they have no reference to the class in there. I have used the Developers Toolkit to search but still have been unable to locate the files where I can change/edit the sidebox classes. Can someone please point me in the right direction?

Thank you!

10 Jan 2010, 12:00 AM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Individual Shopping Cart Heading color

The problem is that this text is a link <a> inside the heading, so is governed by generic link styling.
Add to your stylesheet```
#shoppingcartHeading a {color: #aabbcc;}