I'm currently in the process of transforming an existing website (and making it responsive) with the help of Bootstrap (4.3.1) - all while teaching myself how to use Bootstrap effectively.
- Firstly, there's a top navigation bar
- followed by the middle section which includes:
- a sidebar on the left side
- and the main content on the right side
- Then, at the bottom we have the footer.
Despite my efforts (I've spent 2 days going through Bootstrap examples and browsing Stack Overflow), I can't seem to get the middle section to match the same width as, and align properly with, the header - without resorting to excessive amounts of CSS.
I'm hopeful that there is an easier way to achieve this. What might I be missing or doing wrong?
Here is the code I am using (inline code/colors are just for reference):
Sample Code Here
PS - The reason behind this design choice is that I need the middle section to span the full width, as some pages contain images at the top-right corner that should align perfectly with the right edge of the header. Additionally, the sidebar features full-width images with minimal padding.