The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

prevent colors from being used in chatbox

View previous topic View next topic Go down

Solved prevent colors from being used in chatbox

Post by _Twisted_Mods_ on Sat 15 Nov - 2:09

how can i prevent some colors from being used in the chatbox the color page is not in the templates and has no way to add javascript off css so how can i hide the colors from being used or replace the colors in the chat box when they are used with a different color

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: prevent colors from being used in chatbox

Post by SLGray on Sat 15 Nov - 2:52

So you want to remove the color chart from the chatbox? Are you using the default chatbox from Forumotion?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35677
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: prevent colors from being used in chatbox

Post by Ange Tuteur on Sat 15 Nov - 2:58

Hellow _Twisted_Mods_,

For default chatbox you can use this CSS :
Code:
#chatbox p span.msg > span { color:#666 !important }
#divcolor.fontbutton { display:none }

It should keep the message color to #666, and hide the color button.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: prevent colors from being used in chatbox

Post by _Twisted_Mods_ on Sat 15 Nov - 3:45

i dont want to make all users use just one color or hide the button
what im wanting


prevent the color black from being used in the chatbox because the background of the chatbox is black so i have to highlight the text to read it

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: prevent colors from being used in chatbox

Post by Ange Tuteur on Sat 15 Nov - 3:53

Selecting a specific color in the style attribute will work. Try this :
Code:
#chatbox p span.msg > span[style*="#000000"] { color:#666 !important }

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: prevent colors from being used in chatbox

Post by _Twisted_Mods_ on Sat 15 Nov - 3:57

.msg span[style="color: #000000"]{color:white!important;}

yea i figured it out also ..im a dummy i should have gotten this sooner

ty for the help

Solved!

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: prevent colors from being used in chatbox

Post by SLGray on Sat 15 Nov - 4:02

Topic solved and archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35677
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum