The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to change the color code in the editor

2 posters

Go down

In progress How to change the color code in the editor

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

How to change the color code in the editor Xh8DAje
I want to switch to wysiwyg editor, the color code text white
please help me
zzlasperpen
zzlasperpen
Forumember

Male Posts : 55
Reputation : 3
Language : VietNam

https://raovat24.forumvi.com/

Back to top Go down

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

Post by Ange Tuteur 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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