Skip to main content

I need to customize lightning:select (https://www.lightningdesignsystem.com/components/select/) background color of my picklist, but I cannot find slds class to overwrite. 

I'm able to do this in lightning:combobox (image) with this code:

.THIS .slds-dropdown-trigger.slds-is-open .slds-listbox__option.slds-has-focus { background-color: cyan; }

but obviously it doesn't work with lightning:select. 

Customize lightning:select background with CSS (community custom component)

What is the solution? Thank you. 

1 answer
0/9000