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: Simply want to set the colors on the MDB-Select Control

dojo44 free asked 4 years ago


Expected behavior want to set FONT, TEXT COLOR of MDB_Select would be nice to set the background, etc... Actual behavior Just want it to be easy Resources (screenshots, code snippets etc.) Use Raleway Font Yellow text Color Blue Background


Konrad Stępień staff answered 4 years ago


Hi @dojo44,

Can you try to set these styles in your global style.scss file?

@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
mdb-select {
  background-color: blue;

  .value {
    color: yellow !important;
    font-family: 'Raleway', sans-serif !important;
  }
}


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 Angular
  • MDB Version: 8.10.1
  • Device: PC
  • Browser: Chrome
  • OS: Win 10
  • Provided sample code: No
  • Provided link: No