title: Bootstrap 3 center navbar-toggle class
body: <p>I am new to Bootstrap3 and I have searched the site for a possible answer but at this time I didn't find a good solution.  I am trying to to create a full width <code>navbar-toggle</code> with a normal 15px padding on the left and right but for some reason when I try to force the CSS with a <code>margin: 0 auto !important</code> it still does not work.  How can I create the full width navbar?  </p>
  
  <p><strong>HTML:</strong>
    
    </p>
  
  <pre><code>  &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#collapsed-navigation"&gt;
          &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
          &lt;span class="glyphicon glyphicon-align-justify"&gt;&lt;/span&gt;
          &lt;span class="navmenu"&gt;Navigation&lt;/span&gt;
    &lt;/button&gt;
  
  
  &lt;div class="container"&gt;
    &lt;div class="collapse navbar-collapse" id="collapsed-navigation"&gt;
      &lt;form class="navbar-form navbar-right" role="search"&gt;
  
        &lt;div class="form-group"&gt;
          &lt;input type="text" class="form-control" placeholder="Search"&gt;
        &lt;/div&gt;&lt;!-- end .form-group --&gt;
        &lt;button type="submit" class="btn btn-default"&gt;Foo&lt;/button&gt;
      &lt;/form&gt; 
  
      &lt;ul class="nav navbar-nav navbar-left"&gt;
        &lt;li class="active"&gt;&lt;a href="#"&gt;Foobar1&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#"&gt;Foobar2&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#"&gt;Foobar3&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#"&gt;Foobar4&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/div&gt;&lt;!-- /.navbar-collapse --&gt;
  
  &lt;/div&gt;&lt;!-- end .container --&gt;
  </code></pre>
  
  <p></p>
  
  <p><strong>CSS:</strong></p>
  
  <pre><code>.navbar-toggle {
      position: relative;
      width: 100%;
      margin: 0 auto !important;
  }
  </code></pre>