Jump to content
Sign in to follow this  
jennajonesdesign

Active Link in Sidebar?

Recommended Posts

jennajonesdesign

Hello! For this website I have put the main navigation in the sidebar. I was able to change the hover effect with CSS, but for some reason cannot get the active effect to work. http://www.caripikephotography.com/ Here is what I have tried - again the hover part work, just not the active. I just want it to stay bold when on the page. What am I doing wrong? .widget ul li a:hover { text-decoration: none; font-weight:bold; } .widget ul li a:active { text-decoration: none; font-weight:bold; } Any takers? I appreciate your help! Jenna

Share this post


Link to post
Share on other sites
Danny
Hi Jenna, Can you give this a try please: [code]li.current_page_item a, #subnav_row li a:hover, #grandchildnav .current_page_item > a { color: red; }[/code]

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
jennajonesdesign
That worked perfectly. Thank you so much for taking the time. I appreciate it!

Share this post


Link to post
Share on other sites
Danny
No problem, happy to help Jenna!

Please search our forums, before posting!

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  

×