Update: I successfully fixed the desktop version. Now, I just need to work on making it responsive for mobile.
The problem I am encountering is that the dropdown menu doesn't function properly on both mobile and desktop. Although the styling looks good for both interfaces, the functionality is lacking. I tried adding placeholder links to the dropdown items to test if they would display, but unfortunately, they did not.
Here is the code snippet for the menu in question:
<nav id="navbar"class="navbar navbar-expand-lg">
…
</nav>
- I can see the classes shifting between collapsed and collapsing but I'm unable to see any of the dropdown items displayed.
Does anyone have insight into why the menu items are not appearing? Could this be due to conflicting pre-existing CSS rules? (I've checked this to some extent already as my initial suspicion, but disabling obvious ones didn't help show the items.) Should I delve deeper into my custom CSS?
Additionally, I'm currently struggling to make the sticky navigation work again. I had it working for a simpler Bootstrap menu before so I'll figure it out. However, I'm open to any helpful advice or suggestions from the community.
Please find below my current compiled CSS:
/* Compiled CSS styles go here */
…