I'm using bootstrap to create a page with a jumbotron top, a sidenav (affix-ed to top) and sections of content that rise to the top when clicked in the sidenav. Functionally, it is all working fine, but positioning the main content needs help.
My objective, if possible, is to have the section of content clicked in the sidenav appear not at the very top of the page but about 70px below the top of the browser window. I can easily add 70px to the top of each section, but then the page ends up with too much white space between sections. The code is structured as follows...
<body >
<!-- navigation header - fixed to top and transparent
================================================== -->
<!-- <header><ul><li><a></a><li><ul></header>-->
<!-- jumbotron
================================================== -->
<div class="container">
<div class="row-fluid" align="center">
<div class="jumbotron span12">
<!-- jumbotron content height: 800px -->
</div>
</div>
<!-- side nav
================================================== -->
<div class="row">
<div class="span3" id="side-nav" data-spy="affix" data-offset-top="760">
<ul class="nav nav-list">
<li><a href="#section_1_name">section 1</a></li>
<li><a href="#section_2_name">section 2</a></li>
<li><a> <!-- links to additional sections --> </a></li>
</ul>
</div>
<div class="span9 main-content">
<!-- Sample section 1
================================================== -->
<section id="section_1_name">
<div class="page-header">
<h1>header</h1>
</div>
<h3>Why you should do this</h3>
<p>It's so amazing you'll want to do it. It's so amazing you'll want to do it. It's so amazing you'll want to do it.</p>
<h3>Specfic Instructions</h3>
<p>lorem ispum ... </p>
</section>
<!-- Sample section 2
================================================== -->
<section id="section_2_name">
<div class="page-header">
<h1>header</h1>
</div>
<h3>Why you should do this</h3>
<p>It's so amazing you'll want to do it. It's so amazing you'll want to do it. It's so amazing you'll want to do it.</p>
<h3>Specfic Instructions</h3>
<p>lorem ispum ... </p>
</section>
<!-- Additional sections
================================================== -->
</div> <!-- end of row -->
</div> <!-- end span9 --->
</body>
Any ideas how to get each section X to appear 70px below the top when clicked on in the sidenav?