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: https://mdbootstrap.com/snippets/jquery/piotr-glejzer/557298

background-image has been changed in css.


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
  • 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
Tags