title: navbar not displaying properly in bootstrap on mobile devices
body: <p>I'm trying to build a navbar as shown in the image and I have also provided the code that I have used. </p>
  
  <p>I'm happy with the view on a web interface however the view on a mobile device is completely messed. I have provided the screenshots from both the devices. </p>
  
  <p><a href="https://i.stack.imgur.com/9zWHD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9zWHD.png" alt="screenshot from a laptop browser"></a></p>
  
  <p><a href="https://i.stack.imgur.com/2xbNu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2xbNu.png" alt="screenshot from android chrome"></a></p>
  
  <p>The logo is not even part of the navbar and I'm having trouble using the right side menu. </p>
  
  <p>header.php</p>
  
  <pre><code>&lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"&gt;
  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css"&gt;
  &lt;link rel="stylesheet" href="https://necolas.github.io/normalize.css/3.0.2/normalize.css"&gt;
  &lt;meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"&gt;
  
  &lt;nav class="navbar navbar-default"&gt;
  &lt;div class="container-fluid"&gt;
  &lt;!-- Brand and toggle get grouped for better mobile display --&gt;
  &lt;div class="navbar-header"&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;ul class="nav navbar-nav"&gt;
  
      &lt;li class="dropdown"&gt;
        &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"&gt;
          &lt;span class="glyphicon glyphicon-th"&gt;&lt;/span&gt;
        &lt;/a&gt;
        &lt;ul class="dropdown-menu"&gt;
          &lt;li&gt;&lt;a href="/home"&gt;Home&lt;/a&gt;&lt;/li&gt;
          &lt;li role="separator" class="divider"&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="/admin"&gt;Admin&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="/holidays"&gt;Holidays&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="/leave"&gt;Leave&lt;/a&gt;&lt;/li&gt;
          &lt;li role="separator" class="divider"&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="/billing"&gt;Billing&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="/reports"&gt;Reports&lt;/a&gt;&lt;/li&gt;
          &lt;li role="separator" class="divider"&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="/login/logout"&gt;Logout&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;
  
  &lt;a class="brand" style="margin: 0; float: none;" href="/home"&gt;&lt;img src="http://www.chutti.work/assets/images/logo-final.png" width="130"/&gt;&lt;/a&gt;
  
  
  &lt;!-- Collect the nav links, forms, and other content for toggling --&gt;
  &lt;div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"&gt;
    &lt;ul class="nav navbar-nav navbar-right"&gt;
      &lt;li&gt;
          &lt;a href="/user/profile/"&gt;
              User Profile
              &lt;?php //echo $this-&gt;session-&gt;userdata['user_fname']." ".$this-&gt;session-&gt;userdata['user_lname']; ?&gt;
          &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;&lt;span class="glyphicon glyphicon-bell"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;ul class="dropdown-menu"&gt;
          &lt;li&gt;&lt;p class="text-muted" align="center"&gt;Notifications&lt;/p&gt;&lt;/li&gt;
          &lt;li role="separator" class="divider"&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Action&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Action&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Another action&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Something else here&lt;/a&gt;&lt;/li&gt;
          &lt;li role="separator" class="divider"&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Separated link&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;&lt;!-- /.navbar-collapse --&gt;
  </code></pre>
  
  <p>
  </p>