Change Text Color of MDBSelect

Topic: Change Text Color of MDBSelect

jenmandy asked 3 years ago

**Expected behavior** change the color of the text on the MDBSelect **Actual behavior** color does not change **Resources (screenshots, code snippets etc.)**

I've tried changing color this way :

and also this way:

enter image description here

Neither way seems to change the color of the drop down text: enter image description here

Marta Szymanska staff pro premium answered 3 years ago


try this:

.form-control { color: #fff; } and .dropdown-content li>a, .dropdown-content li>span { color: #fff; }.

Best, Marta

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.20.0
  • Device: mac
  • Browser: chrome
  • OS: mac os
  • Provided sample code: No
  • Provided link: No