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
I put this before the yield container:
I like this approach because it documents the hack needed to get it work, plus it also works for the mobile nav.
EDIT - this works much better:
@media (min-width: 980px) { body { padding-top: 60px; padding-bottom: 42px; } }