I am currently working with Bootstrap and I am attempting to change the background color of the hamburger menu button once it has been clicked. While I can successfully modify the color within the browser inspection tool, I am struggling to replicate this in my CSS file. Furthermore, I am unable to make the color change occur only on click, leading me to suspect a specificity issue. The hamburger button itself is taken directly from one of Bootstrap's examples.
Below, you can see that the navbar has been set up to display "Food, LLC" in the top left corner, with all other links initially hidden until the width is reduced to 769px. Once the width reaches this threshold, the hamburger button appears. Clicking on the button reveals the links as drop-down options.
While I have used red as an example background color, any guidance on how to achieve this color change would be greatly appreciated!
In my attempts to address this issue, I have tried to specifically target the `navbar-toggler` class within my CSS without success. These tests have been conducted using Chrome.
Additionally, I experimented with the `:active` CSS property but did not yield the desired result.