Page 1 of 1

color by images

Posted: 12 Jun 2018, 19:39
by rammstein
good evening kisimi how are you?
I have a small question would it be possible to change the color by an image?

I thank you for your answer

Re: color by images

Posted: 13 Jun 2018, 13:05
by kasimi
Hi rammstein :wave:

I might add this feature in the future, but for now you can add this CSS at the bottom of ext/kasimi/mchatonlinebanners/styles/all/theme/mchat.onlinebanners.css:

Code: Select all

.mchat-message[data-mchat-banner="123"] .username::before,
.mchat-message[data-mchat-banner="123"] .username-coloured::before {
    content: url("http://some.cool/icon.jpg");
}
Replace the 123 with your banner ID. To find the banner ID, edit the banner in the ACP and look for &banner=ID in the URL.

Re: color by images

Posted: 13 Jun 2018, 16:13
by rammstein
super his walk very well thank you