I am using bootstrap on my site and am having issues with the navbar fixed top. When I am just using the regular navbar, everything is fine. However, when i try to switch it
This issue is known and there's a workaround in the twitter bootstrap site:
When you affix the navbar, remember to account for the hidden area underneath. Add 40px or more of padding to the
. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.
This worked for me:
body { padding-top: 40px; }