title: bootstrap navbar menu overlaps text
body: <p>im using the latest version of bootstrap and when i resize the screen browser the navbar, when dropped down with the small toggle button overlaps the text on the page instead of pushing page content down. I have researched the problem several times. I tried putting padding-bottom on the navbar and padding-top on the body. I have tried numerous other things suggested but nothing is working. Appreciate any help.</p>
  
  <p>This is the html code:</p>
  
  <pre><code>      &lt;div class="navbar navbar-inverse navbar-fixed-top" role="navigation"&gt;
    &lt;div class="container"&gt;
      &lt;div class="navbar-header"&gt;
        &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-     collapse"&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 class="navbar-brand navbar-brand-left" href="#"&gt;&lt;a href="index.html"&gt;&lt;img src="somepicture"&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="collapse navbar-collapse" id="navbar-brand-centered""&gt;
        &lt;ul class="nav navbar-nav"&gt;
           &lt;li&gt;&lt;a href="someurl"&gt;Home&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href="someurl" id="active2"&gt;What's On&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href="someurl"&gt;About Us&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href="someurl"&gt;Parties&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="someurl"&gt;Gallery&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="someurl"&gt;Menu&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
       &lt;ul class="nav navbar-nav navbar-right"&gt;
      &lt;li&gt;&lt;a href="#" class="dropdown-toggle" data-toggle="dropdown"&gt;Share&lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;
                &lt;ul class="dropdown-menu" role="menu"&gt;
                  &lt;li&gt;&lt;a href="someurl"&gt;Facebook&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="someurl"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
                &lt;/ul&gt;
          &lt;li&gt;&lt;a href="someurl"&gt;Contact Us&lt;/a&gt;&lt;/li&gt;
  
        &lt;/ul&gt;
      &lt;/div&gt;&lt;!--/.nav-collapse --&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>the css i have used was to only apply color/font/font size etc, nothing that would have contributed to this problem. Its a basic and simple brochure website and im sure the problem is probably right in front of my eyes but im not experienced enough to notice as im only learning, but still would appreciate anyone that could help.</p>
  
  <p>The navbar works perfectly fine and the way its supposed to in a normal size desktop but the problem is only when i resize the browser to a mobile phone size.</p>
  
  <p>This is a url of an image of the problem to make it easier to understand:
  <a href="http://s1368.photobucket.com/user/oliviah452/media/Screenshot2_zpsc9ffafb1.png.html" rel="noreferrer">http://s1368.photobucket.com/user/oliviah452/media/Screenshot2_zpsc9ffafb1.png.html</a></p>