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

View previous topic View next topic 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

zzlasperpen
Forumember

Male Posts : 26
Reputation : 1
Language : VietNam

http://www.hotrofm.net/

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
Code:
.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 :
Code:
$(function(){$(function(){$(".sceditor-container iframe").contents().find("head").append("<style>body,html,code:before,p,table{color:#fff!important;}</style>")})});

Modify
Code:
#fff
to change the color of the font. Wink

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.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