I have been faced with the challenge of creating a responsive navigation bar that appears at the top on mobile devices and on the side on desktops.
The issue arises when considering how to structure the rows and columns to achieve this. For mobile views, I currently have one row with col-x-12 for the top navigation bar and another row with col-x-12 for the content below.
However, when attempting to implement side-by-side columns (col-2 and col-10) for desktop sizes, I encounter difficulties due to the two rows not being able to sit side by side. I also tried a single row approach with two columns, using col-md-12 col-lg-2 for the navbar and col-md-12 col-lg-10 for the content.
Yet, I am uncertain if it is advisable to have two col-12 columns within a single row. Therefore, I am seeking guidance on the correct approach for building this responsive navbar. Your help is much appreciated!