quick css question

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

quick css question

Post 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;
}
Last edited by herbshirt on Thu Mar 13, 2008 3:24 am, edited 1 time in total.
baresi
Forum Members
Forum Members
Posts: 129
Joined: Fri Jul 27, 2007 4:15 pm

Re: quick css question

Post by baresi »

If the issue is css then that should be color not font-color
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: quick css question

Post by herbshirt »

font-color was just my last attempt.

It's now color as it was originally but still have the same problem.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: quick css question

Post by Nullig »

Do you have a link, so we can see what's happening?

Nullig
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: quick css question

Post 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.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: quick css question

Post 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
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: quick css question

Post 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
Post Reply

Return to “Layout and Design (CSS & HTML)”