ChatBox Text
3 posters
Page 1 of 1
ChatBox Text
So I was wondering if there was a code to change the default color of the message text within the ChatBox, whilst still giving users the option to change their own colors. Is there any way to do this?
Re: ChatBox Text
Hello Tinboh,
You can try adding this to your CSS, but I do not think it is possible.
Administration Panel > Display > Colors > CSS stylesheet
You can try adding this to your CSS, but I do not think it is possible.
Administration Panel > Display > Colors > CSS stylesheet
- Code:
.user-msg .msg .msg span { color:#f00 !important; }
Re: ChatBox Text
Hrm...that code didn't seem to do anything at all.
And if it is impossible, is there any way to edit the background of the chatbox and every piece of it? Eg. The user list, the main body, the small strip where the message box is, and the header which says "Chatbox".
I tried using the codes in the main topic for Chatbox edits, but those codes didn't seem to do anything.
And if it is impossible, is there any way to edit the background of the chatbox and every piece of it? Eg. The user list, the main body, the small strip where the message box is, and the header which says "Chatbox".
I tried using the codes in the main topic for Chatbox edits, but those codes didn't seem to do anything.
Re: ChatBox Text
Hello!
You can change whatever you want in the chatbox, but in some cases you have to use the code below so that your changes are valid:
To change the text color, use the following CSS:
JS
You can change whatever you want in the chatbox, but in some cases you have to use the code below so that your changes are valid:
- Code:
jQuery(function () {
var sHtml = '<iframe src="/chatbox/index.forum?archives=1" id="frame_chatbox" scrolling="yes" width="100%" height="100%" type="text/html" style="border: 0px;" />';
jQuery('#frame_chatbox').replaceWith(sHtml);
});
To change the text color, use the following CSS:
- Code:
#chatbox .user-msg .msg > span {
color: #ABCDEF !important;
}
JS
Re: ChatBox Text
Oh cool, the coding worked this time with the javascript. But although it changed the basic text color it took away from a user's ability to alter their own color, so basically it's permanently set at that color now.
Similar topics
» Chatbox text changes
» Text glow chatbox?
» Chatbox Text problem
» Text shadow in chatbox
» [Help]Text Before or After the Username in the Chatbox
» Text glow chatbox?
» Chatbox Text problem
» Text shadow in chatbox
» [Help]Text Before or After the Username in the Chatbox
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum