Primary menu items highlighted when on secondary menu
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Ok, I will try and explain what I mean – am still working locally so cannot show. I have header-menu items which are island a/b/c/. I have then created using a function in my child theme, (see below), 3 secondary menus which essentially have the same sections (about/sleep/eat), but have tailored drop downs according to whether it is island a/b/c.
Is there a way to keep the primary header menu item highlighted, say island a, when you are using the secondary menu/dropdown for that category? I can get it to work with css so in the secondary menu if you select sleep, say, and then use the drop down, then the page you click on is highlighted as well as sleep, but what I really want is island a to be highlighted as well, so the user can see the progression down through the menu/hierarchy…
This is the code used to create the menus
register_nav_menus( array(
'secondary-menu-one' => __( 'Secondary Menu (one)', 'graphene' ),
and
if ( is_page(267))
$args = array_merge( $args, array( 'theme_location' => 'secondary-menu-one' ) );
return $args;
}
add_filter( 'graphene_secondary_menu_args', 'graphene_multiple_secondary_menu' );
?>
Thanking you in advance for any insights and help.
Viewing 1 post (of 1 total)
This free Support Forum relies on contributions from our support staffs and fellow Graphene themes users. While we endeavour to provide adequate and timely support, due to its voluntary nature responses are not guaranteed and may be delayed.
If you require urgent assistance, you may like to consider our Priority Support option.
Made with by Graphene Themes.