Menus Issues Swapping Posts Pages Menu usability

Latest Reply from Alice at 2014-02-21 03:26:47
I modified the appearance of SunnyBeach because the menus were fundamentally broken for us. We edited top.php and relpaced the mainmenu-container with

<?php wp_nav_menu('depth=0&theme_location=sec-menu&container_class=menu-topmenu-container&menu_class=menus menu-topmenu&fallback_cb=block_sec_menu');	?>


and the secondary menu with

<?php $nav_menu_params=array(
'depth'=>0,
'theme_location'=>'main-menu',
'menu_class'=>'menus menu-primary',
'fallback_cb'=>'block_main_menu'
);
wp_nav_menu($nav_menu_params); ?>


The makes the pages the "Primary Menu" and puts post categories in the smaller "secondary menu" (Future versions should have this as an option).

The issue is that the sub menus sometimes slide under the photos in the slider, or slide under the body of the page/post. Is there a CSS or script update to ensure that the menus always stay on top when activated?

Respectfully,
Hi!
To fix some overlap problems you have to adjust such properties as "position: absolute/relative;" and "z-index" for the elements of style.

Leave a reply

Add codeAdd image