Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2008
    Posts
    109
    Plugin Contributions
    0

    Default Using Separate Image for Shopping Cart Header

    Hi

    I'm sure this must have been asked before but i've searched and cannot find anything on it.

    I'm using images for my sideboxes by using;

    .leftBoxHeading, .rightBoxHeading {
    background: url(../images/sidebox.jpg);
    }
    in my stylesheet.

    However my shopping cart heading is twice the size so I need to use a separate image for it.

    Ive tried

    #shoppingCartHeading
    #h3. shoppingCartHeading
    #h3. shoppingCartHeading .rightBoxHeading
    #cartDefaultHeading
    #cartSubTotal
    .tableHeading, #cartSubTotal

    With no luck.

    Any help would be appreciated

    Thanks

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

    Default Re: Using Separate Image for Shopping Cart Header

    CSS is case sensitive, as well as having very specific rules about selector arrangement and spacing.
    Try
    #shoppingcartHeading {}

    Some of these are invalid, and the rest don't apply to that heading:

    #shoppingCartHeading <--wrong capitalization
    #h3. shoppingCartHeading <--erroneous # on HTML element, space after dot
    #h3. shoppingCartHeading .rightBoxHeading
    #cartDefaultHeading
    #cartSubTotal
    .tableHeading, #cartSubTotal

  3. #3
    Join Date
    Oct 2008
    Posts
    109
    Plugin Contributions
    0

    Default Re: Using Separate Image for Shopping Cart Header

    ahh... thanks for that - i missread it in Firefox.

    Is it that obvious i'm a hack when it comes to this

    Thanks again

    Craig

 

 

Similar Threads

  1. v150 Problem after using shopping cart in header code
    By boomer1 in forum General Questions
    Replies: 4
    Last Post: 21 Nov 2012, 11:48 PM
  2. Shopping cart Image using "Small Image Height/width" rather than "Shopping Cart h/w"
    By britneycook in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Jun 2012, 12:16 PM
  3. Using javascript and a separate css for the header.
    By Tantirx in forum Templates, Stylesheets, Page Layout
    Replies: 28
    Last Post: 26 Nov 2010, 08:35 AM
  4. shopping cart image in sidebox when using image for box header
    By JenRed in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Jan 2007, 04:33 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