Currently, I am in the process of constructing a website and have set it up so that when the window width is less than 768px, the navbar collapses into a vertical orientation. The issue I am facing is that even though the navbar collapses, the individual items are not displayed on the navbar. Just to give you an overview, I am using Bootstrap for this project. Essentially, my problem lies with getting the dropdowns to open within the vertical menu/navigation bar.
Below is a snippet of my HTML code:
<header id="home">
<!-- Background Image -->
<div class="bg-img" style="background-image: url('./img/background1.png');">
<div class="overlay"></div>
</div>
<!-- /Background Image -->
<!-- Nav -->
<nav id="nav" class="navbar nav-transparent">
<div class="container">
<!-- Rest of the HTML code goes here -->
</header>
Here's an excerpt of my CSS styles:
/* CSS styling information starts here */