How to change icon of toast?

Topic: How to change icon of toast?

pawled pro premium priority asked 2 years ago

How to change original icon of each toast notification?

pawled pro premium priority answered 2 years ago

<a class="btn btn-danger" onclick="toastr.error('Hi! I am error message.');">Error message</a>

Like this one.

Grzegorz Bujański staff answered 2 years ago

Then check out this snippet:

background-image has been changed in css.

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: Pro
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: 4.19.1
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: No