I've been struggling to find a solution for having a fixed top navigation bar that remains solid without being transparent in both dark and light themes.
Switching between dark and light themes results in the fixed-top navigation bar appearing transparent, allowing content to flow underneath visibly.
Prior to implementing the dark theme, I used a combination of bg-light and fixed-top which worked perfectly. However, the bg-light class is not compatible with the dark theme, leaving the navbar in its light form.
I feel like I may need to create a custom JavaScript function to address this issue, but I'm wondering if there's a built-in Bootstrap solution available for this. Any suggestions would be greatly appreciated!
Thank you