Topic: How to change icon of toast?

pawled free asked 4 years ago

How to change original icon of each toast notification?

Grzegorz Bujański staff commented 4 years ago

Hi. You mean something like this?

Grzegorz Bujański staff answered 4 years ago

Then check out this snippet:

background-image has been changed in css.

pawled free answered 4 years ago

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

Like this one.

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

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.19.1
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: No