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.

How to change the color code in the editor

Go down

In progress How to change the color code in the editor

Post by zzlasperpen on November 8th 2015, 2:59 pm

I want to switch to wysiwyg editor, the color code text white
please help me

Male Posts : 35
Reputation : 1
Language : VietNam

Back to top Go down

In progress Re: How to change the color code in the editor

Post by Ange Tuteur on November 8th 2015, 5:23 pm

Hi @zzlasperpen,

For source code mode add this to your CSS :
Administration Panel > Display > Colors > CSS stylesheet
.sceditor-container textarea{ color:#fff !important }

For WYSIWYG mode create a new script :
Administration Panel > Modules > Javascript codes management > Create a new script

Title : Your choice
Placement : In all the pages
Paste the code below and submit :
$(function(){$(function(){$(".sceditor-container iframe").contents().find("head").append("<style>body,html,code:before,p,table{color:#fff!important;}</style>")})});

to change the color of the font. Wink
Ange Tuteur

Male Posts : 13194
Reputation : 2907
Language : EN10, FR5, JA5
Location : Macungie, PA

Back to top Go down

Back to top

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