If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Using Separate Image for Shopping Cart Header

Using Separate Image for Shopping Cart Header

Locked

Started by craig_robbo on 5 Feb 2009, 9:16 AM · Views: 1,040

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
5 Feb 2009, 9:16 AM
#1
craig_robbo avatar

craig_robbo

Zen Follower

Join Date:
Oct 2008
Posts:
109
Plugin Contributions:
0

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

5 Feb 2009, 9:46 AM
#2
gjh42 avatar

gjh42

Black Belt

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

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

5 Feb 2009, 10:06 AM
#3
craig_robbo avatar

craig_robbo

Zen Follower

Join Date:
Oct 2008
Posts:
109
Plugin Contributions:
0

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:laugh:

Thanks again

Craig