title: Bootstrap Navbar center brand with responsive
body: <p>I'm implementing Bootstrap nav bar logo in order that it'll be at the centre. Recently, I found css code to solve. However, the point is that it's perfect with the large devices, but when I used the inspect element with a small device, it's not responsive as I thought. 
  This is the code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.sFont{
    font-family: Gotham-Med; 
    color: #ffffff; font-size: 25pt; 
    text-align: center;
  }
  .centeR {
    position: absolute;
    left: 50%;
    margin-left: -50px !important;
    display: block;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  
  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"&gt;
  
  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css"&gt;
  
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"&gt;&lt;/script&gt;
  
  &lt;nav class="navbar navbar-inverse" style="background-color: black; border: none; border-radius: 0px;"&gt;
      &lt;div class="container-fluid"&gt;  
          &lt;div class="navbar-header"&gt;
              &lt;p class="centeR sFont"&gt;&lt;img  style="height: 45px;" src="Logo.png"/&gt;&amp;nbsp;Penston&lt;/p&gt;
              &lt;button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"&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;/div&gt;
          &lt;div class="collapse navbar-collapse"&gt;
              &lt;ul class="nav navbar-nav navbar-right"&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
                  &lt;li class="dropdown"&gt;
                      &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"&gt;Dropdown &lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;
                      &lt;ul class="dropdown-menu"&gt;
                          &lt;li&gt;&lt;a href="#"&gt;Action&lt;/a&gt;&lt;/li&gt;
                      &lt;/ul&gt;
                  &lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/nav&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="http://i.stack.imgur.com/Ah8WQ.png" rel="nofollow">This is perfect as I wanted.</a></p>
  
  <p><a href="http://i.stack.imgur.com/X4wRD.png" rel="nofollow">The text's overlapping with icon bar which I can't even click on. </a></p>
  
  <p>Can you suggest me? I tried to do it, but it still doesn't work.</p>