Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / nav column colors issue

nav column colors issue

Locked

Views: 1,214

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
29 Nov 2007, 3:54 PM
#1
traders avatar

traders

Zen Follower

Join Date:
Oct 2007
Posts:
111
Plugin Contributions:
0

nav column colors issue

I found a thread that solved my problem perfectly with ONE hitch. I wanted different link, hover, active colors etc. in the side boxes than globally on the site. So i followed kobra's thread and added:

#navColumnOne a:link, #navColumnTwo a:link {color} and the same for hover, visited, etc.

and although I have different link colors set under

h3.leftBoxHeading :hover for instance, it is changing the Headers TOO and I only want to change the navColumn colors NOT the headers on the side boxes too. Is there a work-around?

so I want different colors in the nav sideboxes and different colors in the headers on the sideboxes, and it seems the navColumnOne is overpowering everything else.
:frusty:

29 Nov 2007, 4:20 PM
#2
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: nav column colors issue

Do you have Firebug??? If you do then use it to check the precedence of your styles.

29 Nov 2007, 4:34 PM
#3
traders avatar

traders

Zen Follower

Join Date:
Oct 2007
Posts:
111
Plugin Contributions:
0

Re: nav column colors issue

don't even know what a firebug is, but i will investigate and try to find out. :blink:

29 Nov 2007, 4:48 PM
#4
jcpatrick avatar

jcpatrick

New Zenner

Join Date:
Oct 2006
Location:
Cheney WA
Posts:
26
Plugin Contributions:
0

Re: nav column colors issue

firebug is an addon for mozilla firefox. https://www.mozilla.com

29 Nov 2007, 4:55 PM
#5
afo avatar

afo

Totally Zenned

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

Re: nav column colors issue

Andrew is referring to an add-on for the FireFox browser which will allow you to see what controls what colors. There's also the web developer add-on (which I use) which I believe does some of the same things.

Add this to your stylesheet (adjust the colors according to your needs):

#navColumnOneWrapper a:link, #navColumnTwo a:link {
	color: #FFFFFF;
	text-decoration: none;
	}

#navColumnOneWrapper a:visited, #navColumnTwoWrapper a:visited  {
	color: #FFFFFF;
	text-decoration: none;
	}

#navColumnOneWrapper a:hover, #navColumnTwoWrapper a:hover  {
	color: #FF0000;
	text-decoration: none;
	}

You could even separate #navColumnOneWrapper from #navColumnTwoWrapper and have different colors for each.

29 Nov 2007, 5:01 PM
#6
traders avatar

traders

Zen Follower

Join Date:
Oct 2007
Posts:
111
Plugin Contributions:
0

Re: nav column colors issue

Thanks, I will look into both of these replies and appreciate the help!:cool: