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.

Editor Text Color

2 posters

Go down

Solved Editor Text Color

Post by SirLaplace June 23rd 2014, 6:38 pm

Hi,
My forum template has dark colors, so i changed my editor background color to black but then this happened -->

Editor Text Color 2QzlqhK

I can't read what i write. How can i change the text color in editor with using CSS? My forum version is phpBB2.


Last edited by zachwinch on June 23rd 2014, 6:49 pm; edited 1 time in total (Reason for editing : Problem solved!)
SirLaplace
SirLaplace
Forumember

Male Posts : 50
Reputation : 4
Language : Turkish, English

http://innoctem.forum.st/

Back to top Go down

Solved Re: Editor Text Color

Post by Ange Tuteur June 23rd 2014, 6:45 pm

Hello zachwinch,

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


For WYSIWYG mode create a new script:
Administration Panel > Modules > HTML & JAVASCRIPT > Javascript codes management

Title : your choice
Placement : in all the pages
Code:
$(window).load(function () {
  $(".sceditor-container iframe").contents().find("head").append("<style>body,html,code:before,p,table{color:#fff!important;}</style>")
});
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Editor Text Color

Post by SirLaplace June 23rd 2014, 6:48 pm

Wow, it works. Thanks a lot. Really Very Happy Very Happy
SirLaplace
SirLaplace
Forumember

Male Posts : 50
Reputation : 4
Language : Turkish, English

http://innoctem.forum.st/

Back to top Go down

Solved Re: Editor Text Color

Post by Ange Tuteur June 23rd 2014, 6:50 pm

You're welcome. Very Happy

Topic archived

If you have anymore questions don't hesitate to open another topic. Have a good day ! Smile
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


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