Jump to content
Sign in to follow this  
apattee

How to style current menu item when active?

Recommended Posts

apattee

So I have a nice hover effect on my main nav, but I can't figure out how to keep the darker background when it's the active page. What would the CSS code be for that? Thanks.

Share this post


Link to post
Share on other sites
Danny
Hi, Try adding the below code to your custom CSS. [code].navbar .navline > li.current_page_item { background: black; }[/code]

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
apattee
Thanks again, support on this forum is really really impressive. Worth every penny.

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  

×