Remove page dropdowns
-
Hey everyone, I’ve done my fair share of digging before posting here. this is a last resort. I’ve done this with other themes on older version of WordPress but I cannot get it right on this theme, with this wordpress.
What I want to do it remove the list of children pages when you hover on a page on the main nav bar. I’m using the EvoLve theme, and this is the code where the site pulls the menu from.
<!--BEGIN .container-menu--> <div class="container nacked-menu" style="margin:0 auto;padding-bottom:10px;position:relative;z-index:99;"> <?php if ($options['evl_main_menu'] == "1") { ?> <br /><br /> <?php } else { ?> <div class="menu-header"> <?php if ( has_nav_menu( 'primary-menu' ) ) { ?> <?php wp_nav_menu( array( 'menu_class' => 'nav', 'theme_location' => 'primary-menu' ) ); ?> <?php } else { ?> <?php wp_page_menu( 'show_home=0' ); ?> <?php } ?> </div> <?php } ?>Any help would be wonderful!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Remove page dropdowns’ is closed to new replies.