Change toast "close" button and text css

#1

Hello, how can I change the text inside a toast and the close button’s style?

Thanks!

#2

hello,
you can use

cssClass:'yourcssclass'

in css file

.yourcssclass { }
#3

I know about that, but I don’t what tag or id class to use to override the close button text or the toast’s text

#4

try

.yourcssclass .toast-button-inner{ color: yourcolor; }

for button
when i want to play with css
I right click on the item and inspection, it gives me the different id that I need :wink:

1 Like