Zen Cart Logo
Forums / Basic Configuration / Changing colours on the cart

Changing colours on the cart

Locked

Views: 1,182

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
12 Aug 2010, 8:29 AM
#1
dsydius avatar

dsydius

New Zenner

Join Date:
Aug 2010
Posts:
14
Plugin Contributions:
0

Changing colours on the cart

Hi all,

I know this is a very popular topic and there are many threads on it already......but I am still unable to solve this conundrum!

I have been trying to change the default green background colours of the boxes (top and side) but just can't seem to get it working.

I changed the values in /catalog/includes/templates/classic/css/stylesheet.css without any joy. I then made changes to the file in /catalog/includes/templates/template_default/css/stylesheet.css and that didn't make any difference either.

I have been changing the following details

.leftBoxHeading, .centerBoxHeading {
margin: 0em;
background-color: #3b2313;
padding: 0.5em 0.2em;
}

and

#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
margin: 0em;
background-color: #3b2313;
font-weight: bold;
color: #ffffff;
height: 1%;
width: 100%;
}

Where am i going wrong.....what am i missing.

Hope someone can show me the light.

Ta,
DsyD

12 Aug 2010, 8:44 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Changing colours on the cart

The green headers in the Classic template are images. You can remove the red part below, then change the background color.

.leftBoxHeading, .centerBoxHeading, .rightBoxHeading {
margin: 0em;
background-color: #abbbd3;
background-image: url(../images/tile_back.gif);
padding: 0.5em 0.2em;
}

12 Aug 2010, 10:45 AM
#3
dsydius avatar

dsydius

New Zenner

Join Date:
Aug 2010
Posts:
14
Plugin Contributions:
0

Re: Changing colours on the cart

Hmmm........did that (commented out the image /background-image: url(../images/tile_back.gif);/) but still no joy.

Could there be another stylesheet somewhere overriding this?

12 Aug 2010, 2:30 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Changing colours on the cart

Possible. How many stylesheets do you have ?

A link to your site might let us spot something.

12 Aug 2010, 2:31 PM
#5
dsydius avatar

dsydius

New Zenner

Join Date:
Aug 2010
Posts:
14
Plugin Contributions:
0

Re: Changing colours on the cart

Is there anyway of finding out where else the stylesheet.css file might exist? None one the changes I've made seem to work.

Anyone?:dontgetit

12 Aug 2010, 2:34 PM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Changing colours on the cart

Look in the css folder of your current template - all the stylesheets affecting your site will be in there. I'm guessing you're editing the wrong stylesheet (template_default/css/stylesheet.css, for example).

12 Aug 2010, 2:43 PM
#7
dsydius avatar

dsydius

New Zenner

Join Date:
Aug 2010
Posts:
14
Plugin Contributions:
0

Re: Changing colours on the cart

There are 5 .css files in this folder /catalog/includes/templates/classic/css:
CSS_read_me.txt
print_stylesheet.css
stylesheet.css
stylesheet_css_buttons.css
stylesheet_orig.css

My site is https://www.lyricforge.com/catalog

12 Aug 2010, 3:01 PM
#8
dsydius avatar

dsydius

New Zenner

Join Date:
Aug 2010
Posts:
14
Plugin Contributions:
0

Re: Changing colours on the cart

stevesh:

Look in the css folder of your current template - all the stylesheets affecting your site will be in there. I'm guessing you're editing the wrong stylesheet (template_default/css/stylesheet.css, for example).

Thats the file I've been working in.

12 Aug 2010, 3:25 PM
#9
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Changing colours on the cart

You should be editing stylesheet.css in the classic/css folder, not template_default.

You should also remove or rename the extension of stylesheet_orig.css to stylesheet.orig. Those two are fighting each other now.

12 Aug 2010, 3:31 PM
#10
dsydius avatar

dsydius

New Zenner

Join Date:
Aug 2010
Posts:
14
Plugin Contributions:
0

Re: Changing colours on the cart

stevesh:

You should also remove or rename the extension of stylesheet_orig.css to stylesheet.orig. Those two are fighting each other now.

BINGO!!!!!!

:clap:

Thank you so much Steve.

DsyD

12 Aug 2010, 3:46 PM
#11
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Changing colours on the cart

Actually, you shouldn't be editing the files in /classic or /template_default. You should be using the override/template system to protect your changes from being overwritten by an upgrade/update. See the Tutorials/FAQ for more information on the override system.