Attempting to create a responsive website utilizing Bootstrap 4, I encountered a problem with the menu expanding in Landscape orientation on mobile devices, causing distortion. How can I ensure the menu stays collapsed in Landscape orientation?
Despite having already completed 90% of the page, I realized the issue and tried various solutions like creating both a menu collapsed and expanded by default, then hiding one based on media queries. However, this approach ended up breaking the menu entirely. Additionally, attempting to modify the Bootstrap media queries in my own mobile.css file or web inspector failed, as any overrides were ignored. My setup includes using bootstrap css, mobile.css for media queries, and design.css for custom styles. Visit the Website to see the issue firsthand: lightflashproductions.com