Page 1 of 1

CSSMenu Horizontal, I can't get active text to be white (SOLVED)

Posted: Mon Mar 19, 2007 1:15 am
by heatherfeuer
So you'd think I would know how to solve this, seeing as how it's a design thing, but, hey! I don't know everything!  :D

I've decided that learning css, phase two is going to be making over my personal website.  I've got it set up on my development server and I'm trying to work with the horizontal CSSMenu.  I've got it styled pretty much exactly how I want it, except for one. #$@%#$%#$%. THING!  ??? :'( >:(

This particular style:
#primary-nav li.menuactive {
  background-color: #440062;
color: white !important;
}

Even though I've put !important, it still displays the color of the other main menu elements.  You can see it here:
http://heathersplace.selfip.net.  I'm hoping someone can help me while I've still got some hair left...  ;D

Re: CSSMenu Horizontal, I can't get active text to be white

Posted: Mon Mar 19, 2007 1:02 pm
by Greg
looks like '#primary-nav li.menuactive a' is set to #420060

Re: CSSMenu Horizontal, I can't get active text to be white

Posted: Mon Mar 19, 2007 2:00 pm
by heatherfeuer
Actually, "#primary-nav a" has the #420060 color.  "#primary-nav li.menuactive" has the background set to #440062 with the text color set to white.  My problem is that "menuactive" is picking up the text color for "#primary-nav a" along with the rest of the primary nav elements.  When you hover over it, the white text shows up the way it's supposed to because the menu picks up the hover action of the main stylesheet.

I'm seriously considering going back the the simple right nav I originally had it at...

Re: CSSMenu Horizontal, I can't get active text to be white

Posted: Mon Mar 19, 2007 3:03 pm
by kermit
#primary-nav li.menuactive a{
  background-color: #440062;
color: white;
}

it's a link, needs to be styled as one, otherwise the text color defined in #primary-nav a is what will apply.

Re: CSSMenu Horizontal, I can't get active text to be white

Posted: Mon Mar 19, 2007 3:15 pm
by heatherfeuer
Kermit,

THANKS!! :-*  I just knew it was something painfully obvious!  Jeez...

By the way, my husband would like to be in line to "kill Bill."  Between the two of us we have four (yes 4) computers.  Two of them (including mine) are strictly Windows (2k Pro on one and XP on mine).  Hubby's and another are dual boot between windows and Linux while he is learning Linux (Ubuntu).  At some point I'd like to learn enough to have a better idea of how to run a good webserver.

We have a long-running joke that Bill evilly devised a very special bug called FWB (for F*** With Brad)!!  And it doesn't just affect software, it can also affect hardware...  :D  :o  ;)