Jump to content
Sign in to follow this  
voidcomp

Highlight Current Page - Primary Nav

Recommended Posts

voidcomp

Hey again. I have been reading through previous posts about highlighting the current page in the primary navigation. I am using drop downs and the following CSS: #primary-nav li.current_page_item a {color:#5899d3;} The code should highlight the drop down (li) menu link only when the user is browsing that page. The code works on the first drop down menu. Highlighting the current page but not the menu item that causes the drop down. The other two drop downs cause a problem. It highlights all of the drop down li, not just the current page but all pages and the main navigation, the link that causes the drop down is also highlighted. Could anyone help?

Share this post


Link to post
Share on other sites
voidcomp
Update: Problems solved, was using a custom Menu item. Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×