Cannot change background of message


#1

I cannot change the background of the dhtmlx message. Not even when I use your sample code:

.dhtmlx-myCss{ font-weight:bold !important; color:white !important; background-color:red !important; }


dhtmlx.message({ type:“myCss”, text:“some text” });

The background remains grey (I’m using skin Material).
When I change it from dhtmlx.message, to dhtmlx.alert or dhtmlx.confirm, the bakground is changed to red.
So for the alert and confirm it works, but not for message.


#2

Please, try to use:

.dhtmlx-myCss div{ font-weight:bold !important; color:white !important; background-color:red !important; }