title: Bootstrap 3 Navbar Stays Expanded
body: <p>I tried to search for this problem &amp; found nothing!
  Basically my navbar will not start collapsed on mobile. The menu stays expanded &amp; i don't know why.</p>
  
  <p>Check for yourself:
  <a href="http://flux.network/wp/" rel="nofollow">http://flux.network/wp/</a></p>
  
  <p>Code:</p>
  
  <pre><code>&lt;!-- Navigation --&gt;
  &lt;nav class="navbar navbar-default navbar-fixed-top" role="navigation"&gt;
      &lt;div class="container"&gt;
          &lt;!-- Brand and toggle get grouped for better mobile display --&gt;
          &lt;div class="navbar-header"&gt;
              &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"&gt;
                  &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
                  &lt;span class="icon-bar"&gt;&lt;/span&gt;
                  &lt;span class="icon-bar"&gt;&lt;/span&gt;
                  &lt;span class="icon-bar"&gt;&lt;/span&gt;
              &lt;/button&gt;
              &lt;a class="navbar-brand" href="#"&gt;&lt;?php bloginfo( $name ); ?&gt;&lt;/a&gt;
          &lt;/div&gt;
  
          &lt;?php
              wp_nav_menu( array(
              'menu'              =&gt; 'primary',
              'theme_location'    =&gt; 'primary',
              'depth'             =&gt; 2,
              'menu_class'        =&gt; 'nav navbar-nav',
              'fallback_cb'       =&gt; 'wp_bootstrap_navwalker::fallback',
              'walker'            =&gt; new wp_bootstrap_navwalker())
          );
          ?&gt;
  
          &lt;form class="navbar-form navbar-right" role="socialicons"&gt;
              &lt;div class="form-group"&gt;
              &lt;?php ?&gt;
              &lt;?php if ( ot_get_option('menu_search') != "off" ) { ?&gt;
              &lt;?php get_search_form(); ?&gt;
              &lt;?php } ?&gt;
              &lt;/div&gt;
          &lt;/form&gt;
  
          &lt;/div&gt;
          &lt;!-- /.navbar-collapse --&gt;
      &lt;/div&gt;
      &lt;!-- /.container --&gt;
  &lt;/nav&gt;
  </code></pre>