Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default 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 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!

  2. #2
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default 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.....

  3. #3
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default 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!

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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
    Code:
    #shoppingcartHeading a {color: #aabbcc;}

 

 

Similar Threads

  1. Shopping Cart Sidebox Heading
    By mysafetymarket in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 21 Jun 2010, 04:06 PM
  2. shopping cart heading
    By si86 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Feb 2010, 09:07 AM
  3. change the color on a individual tpl page in zen cart
    By kylix in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Oct 2008, 08:57 AM
  4. Shopping Cart Image Heading
    By trudesign in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Mar 2007, 09:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg