I would like the menu to always be displayed as a column, regardless of the screen size. Currently, it switches to a horizontal top layout and then wraps to two rows before becoming a column on smaller screens. I want it to stay as a column at all times and only switch to a top menu when the screen is too small for the sidebar.
Here is the HTML code:
<div class="container h-100">
<div class="row h-100">
<!-- left sidebar -->
<div class="col-lg-2 fixed pl-0 py-3 ">
<ul class="nav flex-md-column ">
<li class="nav-item">
<a class="nav-link" href="#">aaaaaaaaaaaaaaa</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">aaaaaaaaaaaaaaaaaaaaaaa</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">dddddddddddddddddddddddd</a>
</li>
</ul>
</div>
<!-- center content -->
<div class="sc-content col fluid bg-faded ">
<h4 class="mt-3">Now that Bootstrap 4 has a flexbox grid it's much easier to create a fixed-fluid layout like this one.</h4>
<p>Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem
quia voluptas sit aspernatur aut odit aut fugit, sed quia cor magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius
modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?</p>
<p>What will you do with this new awesomeness in Bootstrap 4?</p>
</div>
<div class="col-lg-2 fixed py-3">
<!---leave nothing here, just to make text centered. Alternatively, add a right sidebar later.-->
</div>
</div>