WordPress.org

Ready to get started?Download WordPress

Forums

How can I make Multiple Level Navigation Menus (3 posts)

  1. wantei202006
    Member
    Posted 1 year ago #

    I'm currently using only

    <?php wp_nav_menu(
       array(
    	'menu' => 'Primary Navigation',
    	'container' => 'div',
    	'container_class' => 'sixteen columns'
    	));
    ?>

    But only the first-level dropdowns are appearing. I had to hide the Overflow. How can i add a multiple level sub-menu feature?

  2. WordPress Bum
    Member
    Posted 1 year ago #

    Try

    <?php wp_nav_menu(
       array(
    	'menu' => 'Primary Navigation',
            'depth' => '2',
    	'container' => 'div',
    	'container_class' => 'sixteen columns'
    	));
    ?>
  3. wantei202006
    Member
    Posted 1 year ago #

    Actually I followed this tutorial -> http://webdesign.tutsplus.com/series/building-a-responsive-layout-with-skeleton/

    I completed it and was managed to make the complete template. But the problem is it only was the ability to display level-1 sub-menus. I'm guessing i have to change my code and styles a bit to add the multiple layered menus.

    Can someone help me out?

Topic Closed

This topic has been closed to new replies.

About this Topic