Jump to content
Sign in to follow this  
wonderwoman

custom current page colour

Recommended Posts

wonderwoman

Using the pages widget on the side for the site navigation I'm attempting to change the colour of the current page as it shows in the menu. I've successfully changed all links in the site so they highlight a different colour, but am completely baffled by the navigation... inspect element has only confused me no end. can't seem to find a proper css way of changing current_page_item so that it works. going around in circles for hours with this arrrgh tried : #subnav_row li.current_page_item a, #grandchildnav .current_page_item > a {color: #color;} to no avail. tried ul#menu-nav li.current_page_item {color: #color; }. is it not a nav item if it's in a widget? is there a better way to put the nav down the side of the page than the pages widget? should i be using something other than the pages widget?

Share this post


Link to post
Share on other sites
Kate

Do you have a link to your site? We could help you out easier by seeing it in action...

Share this post


Link to post
Share on other sites
wonderwoman

Hi Kate I spent hours going in circles only to discover it's a Wordpress thing. Turns out the code in PP does something to the code for the pages widget. Worked a way around it not using PP Thanx anyway.

Share this post


Link to post
Share on other sites
Rob

As you've resolved it, I'll close the discussion. Glad to hear you found a solution!


Former PageLines Moderator, Food Expert and Raconteur

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  

×