Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How do i change the color.......?

How do i change the color.......?

Locked

Views: 1,640

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
13 Aug 2007, 6:31 PM
#1
ssbeats avatar

ssbeats

New Zenner

Join Date:
Jun 2007
Posts:
72
Plugin Contributions:
0

How do i change the color.......?

Hi!

i want to change the background color of my shopping cart.

Here are the associated class id's.....

.cartProductDisplay, .cartUnitDisplay, .cartTotalDisplay, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, #cartInstructionsDisplay, .cartTotalsDisplay {
padding: 0.5em 0em;
}

So how do i change the background color of these items?

Thanks!

13 Aug 2007, 6:39 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: How do i change the color.......?

Change this to > .cartProductDisplay, .cartUnitDisplay, .cartTotalDisplay, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, #cartInstructionsDisplay, .cartTotalsDisplay {

padding: 0.5em 0em;
background-color: pink;

}

23 Aug 2007, 12:39 AM
#3
windwoman avatar

windwoman

New Zenner

Join Date:
Feb 2006
Location:
Montana
Posts:
68
Plugin Contributions:
0

Re: How do i change the color.......?

How about changing the color to a fun background if you wanted to do something for the holidays.
WW.

23 Aug 2007, 1:57 AM
#4
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: How do i change the color.......?

windwoman:

How about changing the color to a fun background if you wanted to do something for the holidays.
WW.

Then you would want to do something like this:

.cartProductDisplay, .cartUnitDisplay, .cartTotalDisplay, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, #cartInstructionsDisplay, .cartTotalsDisplay {

padding: 0.5em 0em;
background-image: url(../images/your-holiday-image-here.gif);

}

23 Aug 2007, 5:45 AM
#5
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: How do i change the color.......?

So if you wanted to add a different color/bakground to individual pages..??

What would the code look like then..?

Thanks in Advance

23 Aug 2007, 7:13 AM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: How do i change the color.......?

Mike_Dean:

So if you wanted to add a different color/bakground to individual pages..??

What would the code look like then..?You can create individual stylesheets for each page - not as much work as it sounds as each would need only those styles unique to that page, the main stylesheet would handle the rest.

There's an explanation of everything that you can do to tailor stylesheets to different pages and languages in a text file in your site's template_default/css folder.