Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Change Text Color of MDBSelect

jenmandy free asked 5 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 Wierzbicka staff answered 5 years ago


Hi,

try this:

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

Best, Marta



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: 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