Sorry I posted this int he general chat area first - it should be here
My site is here and I am returning to a problem I still have not solved!
http://theguidekohchang.hosting5.idnet.net
I would like to have for example koh chang in the header menu styled/highlighted/selected whatever whenever the secondary menu is is use for koh chang, so when you click in koh chang secondary menu , you always know you are in koh chang from the header-menu button being selected/highlighted.
And of course this to work for the other header menu items and their secondary menus.
I have worked out the css classes in t he menus, the targettign fo the sidebar widgets all to style the different sections of the site but I am stumped as to the header menu showing selected
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.
