Good morning, I have a problem with the popup messages, I have been using normally the $this->setWarningMessage(“txt”) in whole my project, but suddenly the background color has changed to blue… I fact, the background color has changed for all sort of messages (Success,Failure,Error…etc).
I have not idea what happened… is there aný variable/place/function where I might reset to the original color??..thanks for your help.
I have tried to solve the issue un-marking (disable) the option “Use Bootstrap Toast message”, in the Advanced Tools menu, but it doesn’t work.
When I check the option later again , after compiling the scripts…all the messages are in BLUE background color again.
If “popup messages” means the messages with “Use Bootstrap Toast message”, then you may check $toast-background-color under HTML → Themes tab.
Under HTML → Themes tab, the $toast-background-color is set as rgba($white, .85) … I did a test changing the color, but no matter what color I use, whole toast messages still with blue background.
You may right click the toast message, then select “Inspect” to check the element and the CSS, find what CSS changes the background color. See:
https://developers.google.com/web/tools/chrome-devtools/css
Thanks, I found the element ID as you suggested, to modify the style directly with CSS code, but that was not necessary.
I just deleted some commented lines of code in the script I was using in the project and the problem disappear.
Now everything is OK, never found what code changed the style of the Toast-body element.
Thanks anyway. It is very appreciated.