• Hello All!

    I was working through this tutorial by tuts and got my menu up and running, however on my drop down menu the first level is just an empty link (href=”#”) and doesn’t point to it’s page. I saw in the comments people recommended changing the menu_class to this ‘menu_class’ => ‘nav navbar’, or this ‘menu_class’ => ‘nav navbar-nav’, it’s still not working for me.

    Any suggestions?

Viewing 1 replies (of 1 total)
  • Thread Starter stephs8919

    (@stephs8919)

    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="navbar-inner">
          <div class="container">
            <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </a>
            <a class="brand" href="<?php echo site_url(); ?>"><?php bloginfo('name'); ?></a>
            <div class="nav-collapse collapse">
              <ul class="nav">
    
                  <?php wp_nav_menu( array(
      				'menu' => 'top_menu',
      				'depth' => 2,
      				'container' => false,
      				'menu_class' => 'nav navbar',
      				//Process nav menu using our custom nav walker
      				'walker' => new wp_bootstrap_navwalker())
    			);?>
    
              </ul>
Viewing 1 replies (of 1 total)
  • The topic ‘Link in drop down menu won't go to page’ is closed to new replies.