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.
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.
Highlight Parent menu when child page is open
-
- Joined: Mon Apr 19, 2021 8:27 am
- Website: www.scottcoxconsulting.com
-
- Support Team
- Website: www.allprowebtools.com
- Contact:
Re: Highlight Parent menu when child page is open
Thanks for the suggestion! This feature is not currently available. We will consider adding this in a future version release. - Support Team