Page 1 of 1

quick css question

Posted: Thu Mar 13, 2008 3:21 am
by herbshirt
Can someone tell why on earth I can't change the font colour of the active menu item but I can change the border and bg???

Obviously something is overriding it but I just can't find anywhere. :(

so far I have:

#primary-nav li.menuactive {
      border-bottom:solid 1px #f4a428;
      font-color: #f4a428;
}

Re: quick css question

Posted: Thu Mar 13, 2008 7:03 am
by baresi
If the issue is css then that should be color not font-color

Re: quick css question

Posted: Thu Mar 13, 2008 7:34 am
by herbshirt
font-color was just my last attempt.

It's now color as it was originally but still have the same problem.

Re: quick css question

Posted: Thu Mar 13, 2008 6:10 pm
by Nullig
Do you have a link, so we can see what's happening?

Nullig

Re: quick css question

Posted: Thu Mar 13, 2008 11:26 pm
by herbshirt
http://www.simonportus.com.au/

I can get a nice bg img change, a border and everything except the font changing on hover...?

This css stuff will be the death of me.

Re: quick css question

Posted: Thu Mar 13, 2008 11:39 pm
by Nullig
You had the id wrong - should be:

Code: Select all

	#primary-nav li a:hover {
		color: #f4a428;
		}
not

Code: Select all

	#primarynav li a:hover {
		color: #f4a428;
		}
Nullig

Re: quick css question

Posted: Thu Mar 13, 2008 11:42 pm
by herbshirt
bugger, I just missed you by 2 minutes. I was hoping you could tell me why...

when I have classes set .something it doesn't appear in the wysiwig in the styles dropdown. I mean, I can just go in there and add the class by hand but for the clients sake I was hoping they could just apply a class using the drop down.

I'll attend the the other now. Thankyou