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 zachwinch 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!)
zachwinch
zachwinch
New Member

Posts : 22
Reputation : 1
Language : Turkish

View user profile 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 : 13244
Reputation : 2990
Language : English & 日本語
Location : Pennsylvania

View user profile https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Editor Text Color

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

Wow, it works. Thanks a lot. Really Very Happy Very Happy
zachwinch
zachwinch
New Member

Posts : 22
Reputation : 1
Language : Turkish

View user profile 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 : 13244
Reputation : 2990
Language : English & 日本語
Location : Pennsylvania

View user profile 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