Add either .navmenu-fixed-left
or .navmenu-fixed-right
.
The fixed navmenu will overlay your other content, unless you add padding
to the left or right of the <body>
. Try out your own values or use our snippet below. Tip: By default, the navmenu is 240px wide.
@media (min-width: 992px) {
body {
padding-left: 240px;
}
}
Make sure to include this after the Jasny Bootstrap CSS.
Related classes: