The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Editor text color change

View previous topic View next topic Go down

Solved Editor text color change

Post by Joost on August 6th 2017, 8:46 pm

Hello,

How can i change the self-written text color in my editor ?

-screenshots deleted by Joost-


Last edited by Joost on August 7th 2017, 8:35 pm; edited 2 times in total
avatar
Joost
Forumember

Male Posts : 649
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Editor text color change

Post by SLGray on August 6th 2017, 8:52 pm

CSS:
Code:
.sceditor-container iframe, .sceditor-container textarea {
    color:  YOUR COLOR;
}


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 39740
Reputation : 2680
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Editor text color change

Post by Joost on August 6th 2017, 8:57 pm

It's not working on my forum this css code. Sad
avatar
Joost
Forumember

Male Posts : 649
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Editor text color change

Post by SLGray on August 6th 2017, 9:02 pm

Code:
        .sceditor-container iframe, .sceditor-container textarea {
            color:  YOUR COLOR !important;
        }


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 39740
Reputation : 2680
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Editor text color change

Post by Joost on August 6th 2017, 9:06 pm

I have refresh my forum with CTRL + F5 , i don't see this change... Sad
avatar
Joost
Forumember

Male Posts : 649
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Editor text color change

Post by SLGray on August 6th 2017, 9:11 pm

Add it to the top of your CSS stylesheet.  If this does not work, please clear your browser's cache and history.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 39740
Reputation : 2680
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Editor text color change

Post by Joost on August 6th 2017, 9:19 pm

I have this done, not working..
avatar
Joost
Forumember

Male Posts : 649
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Editor text color change

Post by Draxion on August 7th 2017, 4:46 am

Hi there, since the editor is an iframe, you have to add CSS via JavaScript.

Add this to your JavaScripts.
Title: Whatever you please.
Placement: all pages.
Code:
$(function() {
  $(function() {
    $(".sceditor-container iframe")
      .contents()
      .find("head")
      .append(
        "<style>body,html,code:before,p,table{color:#FFFFFF!important;}</style>"
      );
  });
});

Where it says color:YOUR COLOR!important;. That's where you edit your text color in the editor.


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1559
Reputation : 200
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: Editor text color change

Post by Joost on August 7th 2017, 8:35 pm

Thank you very much @Draxion Very Happy
avatar
Joost
Forumember

Male Posts : 649
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Editor text color change

Post by Draxion on August 7th 2017, 9:00 pm

You're welcome. Smile
Problem solved & topic archived.
Please read our forum rules: ESF General Rules


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1559
Reputation : 200
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

View previous topic View next topic Back to top


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