While many solutions are available for fixed sidebars, I am in need of a solution for a non-fixed sidebar that scrolls down with the content. Specifically, I am using Bootstrap 4 grid system:
<nav class="navbar sticky-top">...</nav>
<!--content-->
<div class="container-fluid">
<div class="row">
<div class="col-md-3">
<img src="https://via.placeholder.com/150x130">
</div>
<div class="col-md-3">
<img src="https://via.placeholder.com/150x130">
</div>
<div class="col-md-3">
<img src="https://via.placeholder.com/150x130">
</div>
<div class="col-md-3">
<img src=https://via.placeholder.com/150x130">
</div>
<div class="row">
...
</div>
</div>
In this setup, I require a sidebar to the left of the content, positioned under the top navigation bar. How can I achieve this considering that the number of rows needed is undefined and will be generated by a PHP loop?