• 0
Sign in to follow this  
Followers 0

Highlighting Parent Menu on selecting child page


Question

Posted · Report post

I have added a drop down navigation menu to my site. My Menu appear as Students -> Features. When I load the students page, the student tab is highlighted and when I select the child page of student like Features, the student tab is not highlighted.  How can we fix this?

 

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

Posted · Report post

Try adding this:

 

.current-menu-ancestor {
background: rgba(51, 126, 255, 0.7);
}
1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi,

 

Can you provide a link to the site in question please.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Danny

 

Thanks it works for me

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

No problem.

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  
Followers 0