One more CSS question

  • waterwalk
  • Topic Author
  • New Member
  • New Member
More
14 years 4 weeks ago #6440 by waterwalk
One more CSS question was created by waterwalk
I am having a tough time isolating the code to control the subnavigation font color. If you go to the site:

www.insigniainspirations.com/bath-kitchen-design/

and click on 'portfolio' - you will notice that the hover menu under 'portfolio' when it is selected is black and I need it to be white to contrast with the background color. I had tried this:

.active ul li a span{
color: #ffffff;
}

and a few other options but none of them are working. How can I access the font color for just that hover menu (when the parent has been selected)?

Thanks.

Please Log in to join the conversation.

More
14 years 4 weeks ago - 14 years 4 weeks ago #6441 by pirossi
Replied by pirossi on topic Re: One more CSS question
add !important inside that rule:
Code:
.active ul li a span { color: #FFFFFF !important; }
and add the next rule at the end:
Code:
.active ul li a:hover span { color: #000000 !important; }
Last edit: 14 years 4 weeks ago by pirossi.

Please Log in to join the conversation.

  • waterwalk
  • Topic Author
  • New Member
  • New Member
More
14 years 4 weeks ago #6442 by waterwalk
Replied by waterwalk on topic Re: One more CSS question
That works. Thank you!

Please Log in to join the conversation.

Time to create page: 0.141 seconds
Powered by Kunena Forum