Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Changing the catalogue colours

Changing the catalogue colours

Locked

Views: 1,431

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
23 Aug 2006, 8:02 AM
#1
morgan avatar

morgan

New Zenner

Join Date:
Aug 2006
Posts:
5
Plugin Contributions:
0

Changing the catalogue colours

I am using the classic template. You can see the store live at

http://www.earthchylde.com/store

The default catalogue menu colours are green and red. I have changed the text in the stylesheet to read

a:link, #navEZPagesTOC ul li a {
color: #8C0000;
text-decoration: none;
}

a:visited {
/color: #F7CECE;/
text-decoration: none;
}

a:hover, #navEZPagesTOC ul li a:hover, #navMain ul li a:hover, #navSupp ul li a:hover, #navCatTabs ul li a:hover {
color: #E87777;
}

a:active {
color: #5B0000;
}

This should be varying tones of pink to burgundy, but it remains green and red. I am editing the style sheet in the directory...

/public_html/earthchylde/store/includes/templates/classic/

filename

stylesheet_new.css

Is this the wrong file? Every other colour change I have made has worked except this one... what have I done wrong?

23 Aug 2006, 8:07 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,843
Plugin Contributions:
17

Re: Changing the catalogue colours

One of the problems visited upon those who use the classic versus creating a new template based on template_default.

Remember that stylesheets load in alphabetical order so stylesheet_original.css trumps stylesheet_new.css

Just one of the many advantages to new templates is one stylesheet.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

23 Aug 2006, 8:28 AM
#3
morgan avatar

morgan

New Zenner

Join Date:
Aug 2006
Posts:
5
Plugin Contributions:
0

Re: Changing the catalogue colours

dbltoe:

Remember that stylesheets load in alphabetical order so stylesheet_original.css trumps stylesheet_new.css

Does this mean if I change the stylesheet_original.css to have the same colour coding as the stylesheet_new.css it will work? No that can't be right, I have gone through and changed all the colours in there as well, and it still comes up the same green and red?

And N comes before O so if it is alphabetical loading the new.css would trump the original.css?

23 Aug 2006, 11:09 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Changing the catalogue colours

Morgan:

And N comes before O so if it is alphabetical loading the new.css would trump the original.css?
the "N" new will be listed before the "O" old, causing the "O" old to take precedence...

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.