3
I’m putting the navbar Bootstrap on a website, only when I click the button to open the menu, the menu appears behind the banner on the site. I took the position:absolute that has in the col-md-12 and he was on top (the right way), but wanted to know if there is another alternative, because I think take the position is not the right way to go.
Print:

My code
<div class="row-fluid bg-top">
  <div class="col-md-2">
      <img src="assets/images/logo.png" class="img-responsive" border="0">
  </div>
  <div class="col-md-3">
   <div class="navbar-header navbar-default navbar-inverse">
    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#menu">
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    </button>
    </div>
 <nav role="navigation" class="navbar">
  <div id="menu" class="collapse navbar-collapse">
    <ul>
      <li><a href="">a empresa</a></li>
      <li><a href="">máquinas</a></li>
      <li><a href="">insumos</a></li>
      <li><a href="">cápsulas</a></li>
      <li><a href="">soluções</a></li>
      <li><a href="">contato</a></li>
    </ul>
  </div>
</nav>
</div>
<div class="col-md-3">
</div>
<div class="col-md-4 hidden-xs hidden-sm">
  <div id="contatos">
      <p>[email protected]</p>
      <p>11 2356-6566 | 11 2356-6568 <img src="https://bmwkids.s3.amazonaws.com/app/uploads/2015/02/OrangePhone.png" style="width:8%"></p>
      <div class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-layout="standard" data-action="like" data-width="100" data-show-faces="false" data-share="false"></div>
      </div>
</div>
  </div>
Alisson Acioli. Use the z-index criterion in css. You must use a higher "z-index" for the top property and a lower one for the bottom property. In this way, the element with the largest "z-index" overlaps with the smallest element, as if it were the layers of photoshop. Example: <div id="menu" style="z-index: 2;"><div> <div id="header" style="z-index: 1;"></div> .... pulled?
– Hitch Leonardo