mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-22 15:30:23 +00:00
commit
a24cdb3e40
1 changed files with 1 additions and 1 deletions
|
|
@ -512,7 +512,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</pre>
|
||||
<p>To make the navbar fixed, swamp the <code>.navbar-static</code> class for <code>.navbar-fixed</code>. In your CSS, you will also need to account for the overlap it causes by adding <code>padding-top: 40px;</code> to your <code><body></code>.</p>
|
||||
<p>To make the navbar fixed, swap the <code>.navbar-static</code> class for <code>.navbar-fixed</code>. In your CSS, you will also need to account for the overlap it causes by adding <code>padding-top: 40px;</code> to your <code><body></code>.</p>
|
||||
<pre class="prettyprint linenums">
|
||||
<div class="navbar navbar-fixed">
|
||||
...
|
||||
|
|
|
|||
Loading…
Reference in a new issue