title: Fixed sidebar in bootstrap that starts at a certain position
body: <p>Just in case someone finds this question searching for an answer, thanks to <a href="https://stackoverflow.com/users/672017/timemachine3030">timemachine3030</a> I now have a solution for this problem. </p>
  
  <p>The sidebar looks like this now: </p>
  
  <pre><code>&lt;div class="container-fluid"&gt;
    &lt;div class="row-fluid"&gt; 
      &lt;div class="span4"&gt; 
            &lt;ul class="nav nav-list" data-spy="affix" data-offset-top="750"&gt;
          &lt;li&gt;&lt;a href="#one"&gt;&lt;i class="icon-chevron-right"&gt;&lt;/i&gt; One&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#two"&gt;&lt;i class="icon-chevron-right"&gt;&lt;/i&gt; Two&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#three"&gt;&lt;i class="icon-chevron-right"&gt;&lt;/i&gt; Three&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#four"&gt;&lt;i class="icon-chevron-right"&gt;&lt;/i&gt; Four&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#five"&gt;&lt;i class="icon-chevron-right"&gt;&lt;/i&gt; Five&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#six"&gt;&lt;i class="icon-chevron-right"&gt;&lt;/i&gt; Six&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#seven"&gt;&lt;i class="icon-chevron-right"&gt;&lt;/i&gt; Seven&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
  
      &lt;/div&gt;&lt;!--/span--&gt;
  </code></pre>
  
  <p>We also added <code>top: 60px;</code> to the <code>.affix</code> in the bootstrap.css file With this plus what I already had (shown below) I have successfully re-created the "sticky" sidebar wich Bootstrap uses: <a href="http://twitter.github.io/bootstrap/javascript.html#affix" rel="nofollow noreferrer">http://twitter.github.io/bootstrap/javascript.html#affix</a></p>
  
  <p>timemachin3030: THANK YOU SO MUCH FOR THIS SOLUTION! I HOPE YOU DON'T MIND LINKING TO YOUR PROFILE!</p>
  
  <hr>
  
  <p>Ok I am using Bootstrap, </p>
  
  <p>Perfect example of what I am trying to achieve: <a href="http://twitter.github.io/bootstrap/components.html" rel="nofollow noreferrer">http://twitter.github.io/bootstrap/components.html</a> </p>
  
  <p>I have a fixed sidebar navigation menu that is fixed meaning it scrolls with the page. </p>
  
  <p>Right now it starts at the top of the page "on-top of the hero unit" as you scroll down the page it follows the page. </p>
  
  <p>I want it to start at the beginning of the real content, Where the navigation actually starts. </p>
  
  <p><strong>Here is a portion of the html page using bootstrap.</strong> </p>
  
  <pre><code>&lt;div class="hero-unit"&gt;
    &lt;div class="container-fluid"&gt;
      &lt;div class="row-fluid"&gt; 
        &lt;div class="span8"&gt; 
          &lt;div id="myCarousel" class="carousel slide"&gt; 
            &lt;!--Carousel items --&gt; 
            &lt;div class="carousel-inner"&gt; 
              &lt;div class="active item"&gt;&lt;img src="img/carousel/photo1.jpg"&gt;&lt;/div&gt; 
              &lt;div class="item"&gt;&lt;img src="img/carousel/photo2.jpg"&gt;&lt;/div&gt; 
              &lt;div class="item"&gt;&lt;img src="img/carousel/photo3.jpg"&gt;&lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt; 
        &lt;div class="span4"&gt;
          &lt;h2&gt;The Green Panda&lt;/h2&gt;
          &lt;p&gt;Professional Web Design&lt;/p&gt;
          &lt;a href="#scrollhere" class="btn btn-primary btn-large"&gt;Learn More&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt; 
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;div&gt;
    &lt;h2 align="center" id="scrollhere"&gt;Professional Web Design&lt;/h2&gt;
    &lt;h3 align="center"&gt;Powerful. Professional. Affordable&lt;/h3&gt;
    &lt;hr&gt;
  &lt;/div&gt; 
  &lt;div class="container-fluid"&gt;
    &lt;div class="row-fluid"&gt; 
      &lt;div class="span4"&gt; 
        &lt;div class="well sidebar-nav-fixed" data-spy="affix" data-offset-top="300"&gt;
          &lt;ul class="nav nav-list"&gt;
  
            &lt;li class="nav-header"&gt;Sidebar&lt;/li&gt;
            &lt;li class="active"&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
            &lt;li class="nav-header"&gt;Sidebar&lt;/li&gt;
  
            &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
  
            &lt;li class="nav-header"&gt;Sidebar&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
        &lt;/div&gt;&lt;!--/.well --&gt;
      &lt;/div&gt;&lt;!--/span--&gt;
      &lt;div class="span8"&gt; 
  
        &lt;h3&gt;What We Do&lt;/h3&gt; 
        &lt;p&gt;Here at The Green Panda, we provide custom website development as our main strong hold. Web design was the primary reason for opening The Green Panda!&lt;/p&gt; 
  
        &lt;p&gt;Throughout the last year we have worked very hard to provide our clients with more solutions. All of our hard work has paid off, we now provide an on line site builder and custom printed promotional products. This is on-top of our custom web design we have provided from day one.&lt;/p&gt;
  
        &lt;h3&gt;Our Solutions&lt;/h3&gt; 
        &lt;p&gt;Once a year we distribute a survey to our clients, the bars below dictate what our clients have ranked us within the last year on the solutions we offer. We believe it's important for you as a future client to have a firm understanding of what we are capable of.Click on each bar to find out more information.&lt;/p&gt;
        &lt;strong&gt;Web Design&lt;/strong&gt; 100%
        &lt;div class="progress progress-success progress-striped active"&gt;
          &lt;div class="bar" style="width: 100%;" id="webdesign-bar" rel="popover" data-content="We are very proud to present a perfect rating in web design for the year 2012!" data-original-title="Our Main Focus" data-placement="top"&gt;&lt;/div&gt;
        &lt;/div&gt;
  </code></pre>
  
  <p>To get the sidebar to be fixed I added this extra css: </p>
  
  <pre><code>.sidebar-nav-fixed {
    position: fixed;
    top: 60px;
    width:21.97%;
  }
  
  @media (max-width: 767px) {
    .sidebar-nav-fixed{
      width:auto;
    }
  }
  
  @media (max-width: 979px) {
    .sidebar-nav-fixed {
      position: static;
      width: auto;
    }
  }
  </code></pre>