Wordpress menu - Toggle does not open when you press

0

I'm developing a Wordpress project, and I have problems with my menu. When I test the site at smaller resolutions, the toggle box does not open it. As I get busy with the HTML issue with PHP, I think something is missing to make pressing the toggle box the menu open normally.

<div class="row">
  <div class="col-xs-12">

    <div class="dbn-header-flex">


      <div class="dbn-header-menu">

        <?php 

          wp_nav_menu( array(
                  'theme_location'  => 'header-menu',
                  'depth'           => 3,
                  'container'       => 'div',
                  'container_class' => 'dbn-header-menu hidden-sm hidden-xs',
                  'container_id'    => '',
                  'menu_class'      => 'dbn-menu',
                  'fallback_cb'     => 'wp_bootstrap_navwalker::fallback',
                  'walker'          => new wp_bootstrap_navwalker(), // Apply bootstrap menu mode
                ) ); 
              ?>

      </div>



      <div class="dbn-header-search">

         <?php
          // Busca
          include('searchform.php'); ?>
      </div>

      <!-- Brand and toggle get grouped for better mobile display -->
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>

    </div> <!-- /.dbn-header-flex -->

  </div><!-- /.col-xs-12 -->
  </div><!-- /. row -->
    
asked by anonymous 11.05.2017 / 03:32

0 answers