Jump to content


Photo
- - - - -

Highlighting Parent Menu on selecting child page

navigation highlight

Best Answer Danny , 01 May 2014 - 11:11 AM

Try adding this:

 

.current-menu-ancestor {
background: rgba(51, 126, 255, 0.7);
}
Go to the full post


  • Please log in to reply
5 replies to this topic

#1 umar14

umar14

    Advanced Member

  • Members

  • 81 posts
  • Framework Version:DMS2
  • Country: Country Flag

Posted 30 April 2014 - 11:18 AM

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?

 



#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 16313 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 30 April 2014 - 11:22 AM

Hi,

 

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



#3 umar14

umar14

    Advanced Member

  • Members

  • 81 posts
  • Framework Version:DMS2
  • Country: Country Flag

Posted 01 May 2014 - 09:28 AM

http://dev2.socrato.com



#4 Danny

Danny

    Is Awesome!

  • Moderators
  • 16313 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 01 May 2014 - 11:11 AM   Best Answer

Try adding this:

 

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

  • GetMeWebDesign likes this

#5 umar14

umar14

    Advanced Member

  • Members

  • 81 posts
  • Framework Version:DMS2
  • Country: Country Flag

Posted 19 May 2014 - 11:43 AM

@Danny

 

Thanks it works for me



#6 Danny

Danny

    Is Awesome!

  • Moderators
  • 16313 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 19 May 2014 - 12:02 PM

No problem.







Also tagged with one or more of these keywords: navigation, highlight