Topic: Custom toast color

dagaey priority asked 11 months ago


How can I set a custom toast color?


Mateusz Lazaru staff answered 11 months ago


Without modifying source code? You can overwrite CSS styles.

.customPinkToast {
 background-color: pink;
}
.customPinkToast .toast-header {
  background-color: salmon;
}


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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.2.0
  • Device: desktop
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No