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 Mon 23 Jun - 16:38

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 Mon 23 Jun - 16:49; 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 Mon 23 Jun - 16:45

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 : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Editor Text Color

Post by SirLaplace Mon 23 Jun - 16:48

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 Mon 23 Jun - 16:50

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 : 13207
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