Jump to content
Sign in to follow this  
flourishdesignstudio

change background image of active page in main navigation

Recommended Posts

flourishdesignstudio

Hello! I'd like to use an image instead of a color to show the active page in the main navigation. I've been able to get an hand-drawn underline upon hover, but I can't seem to find the right css for the active page. Can someone help, please?? The in-process site can be found at Jerry Dell Farm Store

Share this post


Link to post
Share on other sites
ricardo

Hi Jacqueline! I think the selector you're looking for is li.current-menu-item. You might have to play with either li.current-menu-item a or adding parent like #primary-nav li.current-menu-item a. See what works for you! Ricardo

Share this post


Link to post
Share on other sites
flourishdesignstudio

Hi Ricardo! Thanks for the help. Unfortunately, I still couldn't get it to work. Any other ideas?

Share this post


Link to post
Share on other sites
cmunns

Try #primary-nav .main-nav li.current_page_item a { background:xxx; }

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  

×