title: navbar with logo in the middle, it disappears when collapsed
body: <p>I have this code, but when I change the size of the window to test the responsive, the logo disappear, only showing the hamburger icon for the accordion menu.</p>
  
  <p>I really want to know how to keep the image logo in the middle when its full width and stay in the middle when collapsed for responsive design.
  Thanks!</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.navbar-nav&gt;li {
    float: none;
    vertical-align: bottom;
  }
  
  #site-logo {
    position: relative;
    vertical-align: bottom;
    bottom: -35px;
  }
  
  #site-logo a {
    margin-top: -53px;
  }
  
  #container,
  .navbar .navbar-default {
    border-top: 2px dotted blue;
    border-bottom: 2px dotted blue;
    background-image: url("img/fondo_menu_nav.jpg");
    background: url('img/fondo_menu_nav.jpg');
    font-style: zapfino;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!-- Latest compiled and minified CSS --&gt;
  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"&gt;
  
  &lt;!-- Optional theme --&gt;
  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous"&gt;
  
  &lt;!-- Custom styles for this template --&gt;
  &lt;link href="navbar-top.css" rel="stylesheet"&gt;
  
  &lt;link href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet" /&gt;
  
  &lt;nav class="navbar navbar-default "&gt;
    &lt;div class="container"&gt;
      &lt;div class="navbar-header"&gt;
        &lt;button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"&gt;
          &lt;span class="sr-only"&gt;Nav&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;/div&gt;
      &lt;div id="navbar" class="collapse navbar-collapse"&gt;
        &lt;ul class="nav nav-justified navbar-nav center-block"&gt;
          &lt;li class="active"&gt;&lt;a href="acne.html"&gt;EL ACNÉ&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="productos.html"&gt;PRODUCTOS&lt;/a&gt;&lt;/li&gt;
          &lt;li id="site-logo" class="hidden-xs"&gt;
            &lt;a href="index.html"&gt;&lt;img id="logo-navbar-middle" src="img/fondo_logo_barrocutina.png" width="150%" alt="IMAGE LOGO"&gt;&lt;/a&gt;
          &lt;/li&gt;
          &lt;li&gt;&lt;a href="participa.hmtl"&gt;PARTICIPÁ&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="contacto.html"&gt;CONTACTO&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/nav&gt;
  
  &lt;!-- Latest compiled and minified JavaScript --&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"&gt;&lt;/script&gt;
  
  &lt;!-- Latest compiled and minified JavaScript --&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>