Everything was going smoothly in my blog-like layout until I decided to introduce a simple and minimalist User dashboard with a sidebar that deviated from the existing structure.
I managed to extract most of the CSS code from the large file generated by Hugo (not including Bootstrap 5) and created a Pen for it. It's quite lengthy, but hopefully not an issue.
In the Pen, I manually made one change in the last block to illustrate that there is a colored wrapper for the main body since it was not initially visible.
My goal was to have the sidebar on the left extend to the full height of the page, with the footer positioned above it, while maintaining spacing around the red box shown here.
However, I am struggling to eliminate the bottom spacing between the sidebar and the footer.
I attempted changing the
<footer>
bottom property or applying a negativemargin-top
to lift it up.
Unfortunately, these adjustments only resulted in additional space below the footer.
I have searched for solutions and come across tutorials and other questions, but none specifically address the use of Bootstrap 5 like I am implementing.