CSS Disabled Dropdown Background Colour
Question

For a reactive web app we would like to change the background colour of a disabled dropdown, anybody knows how to change it ? 

We would like to apply this in our theme in stead of putting the background colour on the element, but we can not find the applied css classed to a disabled dropdown.

mvp_badge
MVP
Solution

Hi Jacob,


You can easily change it by including a CSS snippet like this in your Theme (change the color according to your liking):


div.dropdown-display.dropdown-disabled, select.dropdown-display.dropdown-disabled, select.dropdown-display[disabled] {

    background-color: blue;

}



Kind Regards,
João

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.