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.
The forum of the forums
2 posters

    Editor Text Color

    SirLaplace
    SirLaplace
    Forumember


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

    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!)
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    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>")
    });
    SirLaplace
    SirLaplace
    Forumember


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

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


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

    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

      Current date/time is November 11th 2024, 6:52 pm