MyBB Community Forums

Full Version: Different letter colors for different themes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, in my forum I am using 2 themes one is lighter and one is darker and they have white and black background color in their editor respectively.

The issue is, when I installed lighter theme, I noticed in editor I ve got white background and white letters.
So it was literally impossible to see what you are writing.

Then I changed it from this place

jquery.sceditor.mybb.css
tml, body, p,code:before, table {
  1.    margin: 0;

  2.    padding: 0;

  3.    font-family: Tahoma, Verdana, Arial, Sans-Serif;

  4.    font-size: 14px;

  5.    color: #555;
}

to darker color - sadly when I did that letters in editor of darker theme also changed to darker - which made it impossible to see there this time.

Darker theme and lighter theme uses different editors.

So the question is, how can I have different colors for different editors?
You can choose which editor theme you want for each theme.

Go to ACP > Themes > Your theme, then scroll down to the Editor Style dropdown on both themes.
Yes I am already using different editors for those themes.
But I change "jquery.sceditor.mybb.css" to change letter color and this file is not one of editor files. It is general file, therefore when I change letter color for white background editor, it also changes letters in black background editor.

What am I doing wrong?
I might be not very clear about what is the issue so I will explain it with images.

This is my editor in dark theme
[Image: OZ05rP.jpg]
Black background, white letters, everything is OK.

And this is my editor in white theme.
[Image: Qla0zr.jpg]
White background, white letters, nothing can be seen.

ISSUE : When I look at the codes I see these letters take color from jquery.sceditor.mybb.css
When I change that unseeable white color there, color in DARK THEME also changes.
So I make it black to be able to see it in white theme, then I can not see anything in black background!

There must be solution for this.. Anyone?