I want to add a background color to my dropdown menu when it's activated. In the demo, the dropdown content overlaps with the text behind it. Currently, I have a scrollspy feature that applies a background color to the nav bar and dropdown menu when scrolling. While I could remove the scrollspy, I prefer to keep it in my other HTML documents.
Sample HTML code here.