Highlight Parent menu when child page is open

Ideas! We love to hear them. Your ideas are the features we add next.
Post Reply
Joined: Mon Apr 19, 2021 8:27 am
Website: www.scottcoxconsulting.com

Highlight Parent menu when child page is open

  • Quote

Post

Greetings,

I have three children web pages of a Parent webpage and I wanted to highlight the Parent menu when a child page is open. HTML for the Navigation menu is not in our hands. Below is the code which fetch the menu items and shows up on the Header.

<ul class="nav navbar-nav">
<?php PrintNavBar(); ?>
</ul>

I believe, there should be any class assigned to an active children menu item, along with the parent menu item. At present, there is no way to see which child page is active.
I want to highlight the active child menu item, along with its parent menu.
Poly-Machine.png
Look at the attached screenshot. "Poly Machine" is the first child of the "Services" web page and is open. But there is no way to apply CSS code to the active child menu along to its parent menu. Can you do some code to assign a class to an active child menu item as well as add one class to its parent menu item?

Feel free to ask any question.

Thank you.
Support Team
Support Team
Website: www.allprowebtools.com
Contact:

Re: Highlight Parent menu when child page is open

  • Quote

Post

Thanks for the suggestion! This feature is not currently available. We will consider adding this in a future version release.
Post Reply