Jump to content
Sign in to follow this  
jrweinb

Changing Background Color of Selected Link in Secondary Navigation

Recommended Posts

jrweinb

Hello, I would like to change the background color of a Secondary Navigation Link when it is selected. I cannot figure out the necessary selectors for this. I have tried all of the answers to other forum questions without any luck. Thank You, Jeff

Share this post


Link to post
Share on other sites
cshoffmann

Add this to custom code or the base.css file: #secondnav ul a:hover { color: #1C1C1C !important; } Now, to have the selected page remain a color when your on that page, add this as well: #secondnav ul li.current_page_item a { color: #1C1C1C !important; } Change the colors to whatever you want.

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  

×