Need help? Check out our Support site, then

current_page_item not changing link text colour

  1. Hello All,

    I've been googling this for a few hours and keep drawing a blank no matter what I try - so I'm wondering if someone will be able to help me!

    I'm working on using WP as a CMS and want to style my navigation links to be white when the user is on that page.

    Here is what I've got so far:

    As you can see, I've got the navigation set up so that when you hover over the link it changes to white. What I can't seem to get is the link text color changed to white when you are on the specific page. By using the .current_page_item class in my style.css I can get the backgound changed, or like I currently have - the correct link underlined. I just seem at a complete loss as to changing the text itself to white.

    Is it a simple line I am missing? Have I styled the nav list wrong? Here is the css that makes it does what it's currently showing:

    <br /> #header_nav a, #header_nav a:visited {<br /> color: #4D4D4D;<br /> text-decoration: none;<br /> font-size: 9px;<br /> font-family:Tahoma, Geneva, sans-serif;<br /> }</p> <p>#header_nav a:hover{<br /> color: #fff;<br /> }</p> <p>.current_page_item{<br /> color:#FFF;<br /> text-decoration:underline;<br /> }<br />

    Anyone got any clues?
    Thanks in advance,

  2. You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for hosted blogs only. If you have a self-hosted WordPress blog you need to seek help at the forums, not here.

    If you don't understand the difference, you may find this information helpful.

Topic Closed

This topic has been closed to new replies.

About this Topic