The default fixed-top navbar in Bootstrap spans the full width of the viewport. I want it to display contain it within a container div
. I am able to contain the left side using the following CSS override:
.navbar-fixed-top,
.navbar-fixed-bottom {
position: fixed;
width:100%;
right: auto;
left: auto;
z-index: 1030;
}
But the navbar still extends to full window on the right.