When it comes to most of the pages we just spot the material stretches from edge to edge in width with a practical site navigation bar just above and just simply becomes resized once the determined viewport is reached so that more or less the showcased web content fluently utilizes the full width of the page attainable. However at a specific occasions the desired target the web pages need to provide require together with the fluently resizing content place a different section of the provided screen width to get assigned to a still vertical feature together with some links and information within it-- in shorts-- the well-known from the past Bootstrap Sidebar Example is needed. ( read here)
This is rather outdated strategy but if you really need to-- you can certainly build a sidebar component with the Bootstrap 4 framework that together with its own flexible grid system also deliver a number of classes designed specifically for setting up a secondary rank navigation menus being certainly docked along the web page.
However let us set up it quick-- with just nesting some columns and rows -- It is supposed this perhaps the easiest way. And also by nesting I suggest you can absolutely gave a
.row
So let's say we desire a right aligned Bootstrap Sidebar Toggle having some content in it and a primary page to the left of it. We have to determine the grid tier down to what we wish to maintain this arrangement before the sidebar and the primary material stack above each other-- let us claim-- medium and up. Therefore a possible manner attaining this might be this:
Initially we desire a container element to maintain the rows and columns and since we are definitely developing something a little bit more challenging the
.container-fluid
Next we need to have a
.row
.col-md-9
.col-md-3
Next in all of these columns we can just produce some excess
.row
Additionally in case you need to create a sidebar navigation menu along with the desired
.col-*
.sidebar
<main>
.col-*
Also in case you require to generate a sidebar navigation menu together with the wanted
.col-*
.sidebar
<main>
.col-*