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
color by images
-
- mChat developer
- Posts: 1173
- Joined: 06 Oct 2016, 09:56
- Location: Germany
Re: color by images
Hi rammstein
I might add this feature in the future, but for now you can add this CSS at the bottom of
Replace the

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");
}
123
with your banner ID. To find the banner ID, edit the banner in the ACP and look for &banner=ID
in the URL.-
- Posts: 55
- Joined: 13 Jan 2018, 01:11
Re: color by images
super his walk very well thank you
-
- Posts: 57
- Joined: 16 Aug 2020, 00:33
- Location: Germany
Re: color by images
On dark styles it looks this way for me:
Ok its not a hard deal to fix the hard coded color insde. I try to make it transparent and how it looks then. Just want to mention what I found from my views.
Ok its not a hard deal to fix the hard coded color insde. I try to make it transparent and how it looks then. Just want to mention what I found from my views.
You do not have the required permissions to view the files attached to this post.
Who is online
Users browsing this forum: CCBot [Bot] and 0 guests