Bill Teale Bill Teale - 7 months ago 27
CSS Question

bootstrap3 - how to change background color when in collapsed mode

I have a bootstrap3 navbar with a transparent background - bootply is at

Trouble is, I need a solid background color (#821726) on the drop down when the menu is collapsed.

I have a white background on dropdowns when the menu is enlarged, but can't work out what I have to change to get the background to only appear on the navbar dropdown in the "hamburger" view (still want the navbar itself to be transparent).

Thanks for any thoughts.


you need to add a new class to your stylesheet:
     background-color: #821726; // your color