title: how to make navbar fixed
body: <p>I have done the code for navbar as follows.</p>
  
  <pre><code>&lt;div class="header-bottom "&gt;
      &lt;div class="container"&gt;
          &lt;nav class="navbar navbar-default"&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"&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="logo grid"&gt;
                      &lt;div class="grid__item color-3"&gt;
                          &lt;h1&gt;&lt;a class="link link--nukun" href="index.html"&gt;&lt;i&gt;&lt;/i&gt;&lt;span&gt;PRISM&lt;/span&gt;&lt;/a&gt;&lt;/h1&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  
              &lt;!-- Collect the nav links, forms, and other content for toggling --&gt;
              &lt;div class="collapse navbar-collapse nav-wil" id="bs-example-navbar-collapse-1"&gt;
                  &lt;nav class="menu menu--horatio"&gt;
                      &lt;ul class="nav navbar-nav menu__list"&gt;
                          &lt;li class="menu__item menu__item--current"&gt;&lt;a href="index.html" class="menu__link"&gt;Home&lt;/a&gt;&lt;/li&gt;
                          &lt;li class="menu__item"&gt;&lt;a href="about.html" class="menu__link"&gt;About&lt;/a&gt;&lt;/li&gt; 
                          &lt;li class="menu__item"&gt;&lt;a href="codes.html" class="menu__link"&gt;Short Codes&lt;/a&gt;&lt;/li&gt; 
                          &lt;li class="menu__item"&gt;&lt;a href="gallery.html" class="menu__link"&gt;Gallery&lt;/a&gt;&lt;/li&gt; 
                          &lt;li class="menu__item"&gt;&lt;a href="contact.html" class="menu__link"&gt;Contact&lt;/a&gt;&lt;/li&gt;
                      &lt;/ul&gt;
                  &lt;/nav&gt;
              &lt;/div&gt;
          &lt;/nav&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>the output of code is <a href="http://i.stack.imgur.com/aZ0DU.jpg" rel="nofollow">This is output for above code</a></p>
  
  <p>i want to make only navbar as fixed please help to do so.</p>