on my site – see in private content of this post – i would like to see the active menu indicator also if a subpage is opened. e.g. hover over “services” and choose “company selling”. if the page is openend i would like to see the active menu indicator under services.
i see thats not a default thing as it’s not in the demo. but is it possible?
best,
mathias
Hi MathiasVie!
Add this to your custom CSS.
.current_page_ancestor .avia-menu-fx {
display: block !important;
opacity: 1 !important;
visibility: visible !important;
}
Cheers!
Elliott
hi eliott,
thanks that worked for the “standard-subpages”.
what about the portfolio which is a different post type.
e.g.
i have a main navigation item called “portfolio” which links on 1 specific portfolio item. on that page i can navigate to other portfolio items. if i do that i would like to have also the active indicator on the main menu … is there a way to do this or tweak something so it works like this?
thanks in advance,
mathias
Hey!
For post types you would have to edit the posts and then add some CSS into the post content.
<style type = "text/css">
#menu-item-1610 > a > .avia-menu-fx { display: block !important;
opacity: 1 !important;
visibility: visible !important; }
</style>
Best regards,
Elliott