How can I change the Text Editor Box default to a white background?
2 posters
Page 1 of 2
Page 1 of 2 • 1, 2
How can I change the Text Editor Box default to a white background?
Hi,
The text editor box (for posts and post edits) ALWAYS opens with a med-dark blue background. This makes the back text hard to read. I can change the background to white by clicking the "Switch Editor Mode" button (upper far right button with the a/A symbol on it).
This makes no sense to me and after spending hours in the Colors HTML box, I cannot locate any #hex code which corresponds to this blue color.
How can I change the default so my text editor box will always open white?
Thanks for any advice,
Kerry
The text editor box (for posts and post edits) ALWAYS opens with a med-dark blue background. This makes the back text hard to read. I can change the background to white by clicking the "Switch Editor Mode" button (upper far right button with the a/A symbol on it).
This makes no sense to me and after spending hours in the Colors HTML box, I cannot locate any #hex code which corresponds to this blue color.
How can I change the default so my text editor box will always open white?
Thanks for any advice,
Kerry
Kerry Kistler- Forumember
- Posts : 43
Reputation : 0
Language : english
Re: How can I change the Text Editor Box default to a white background?
What is your forum version?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: How can I change the Text Editor Box default to a white background?
This is a brand new forum but I think it's phpbb2. Here's the link if you want to try making a test post:
http://thechalkloft.heavenforum.org/index.htm
Thanks for taking a look,
Kerry
http://thechalkloft.heavenforum.org/index.htm
Thanks for taking a look,
Kerry
Kerry Kistler- Forumember
- Posts : 43
Reputation : 0
Language : english
Re: How can I change the Text Editor Box default to a white background?
- Code:
textarea.post{
background-color: #000000;
}
Add this code to your css, change the color code to anything. Its currently black.
http://www.computerhope.com/htmcolor.htm
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: How can I change the Text Editor Box default to a white background?
Thanks for trying but that only affected the background color in the Comment input block and Signature input block. Any other ideas?
Thanks,
K
Thanks,
K
Kerry Kistler- Forumember
- Posts : 43
Reputation : 0
Language : english
Re: How can I change the Text Editor Box default to a white background?
That code works fine for me.
Can you show what changed for you in a screenshot?
Can you show what changed for you in a screenshot?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: How can I change the Text Editor Box default to a white background?
Well, I don't want to bother sending shots of what did change - as I said, two text boxes did change: the Comment and Signature input blocks (in the Profile editing area).
Here is a clip of the code you sent as I inserted it in my html. The color I entered is a very light blue. Did I insert it incorrectly?
nput.post, textarea.post, select {
background-color : #ffffff;
}
textarea.post{
background-color: #cde2ff;
}
td.post-options img {
cursor: pointer;
Here is a clip of the code you sent as I inserted it in my html. The color I entered is a very light blue. Did I insert it incorrectly?
nput.post, textarea.post, select {
background-color : #ffffff;
}
textarea.post{
background-color: #cde2ff;
}
td.post-options img {
cursor: pointer;
Kerry Kistler- Forumember
- Posts : 43
Reputation : 0
Language : english
Re: How can I change the Text Editor Box default to a white background?
Inserted in your html?
Where did you exactly add the code?
Where did you exactly add the code?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: How can I change the Text Editor Box default to a white background?
In the admin area: Display/Pictures & Colors/Colors. I wasn't sure where on the page to add it so I showed the above clip to give you an idea.
Kerry Kistler- Forumember
- Posts : 43
Reputation : 0
Language : english
Re: How can I change the Text Editor Box default to a white background?
Add it in the css stylesheet tab.
Also it does change the comment box background color, so to avoid that you can keep the background color white. I can provide you the code to change the text to black, so that its visible. Is it fine?
Also it does change the comment box background color, so to avoid that you can keep the background color white. I can provide you the code to change the text to black, so that its visible. Is it fine?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: How can I change the Text Editor Box default to a white background?
yes, that's where i put it, as described - unless there is another location for another css stylesheet tab that I don't know about.
Kerry Kistler- Forumember
- Posts : 43
Reputation : 0
Language : english
Re: How can I change the Text Editor Box default to a white background?
Did the background color of the posting area change to anything else than blue?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: How can I change the Text Editor Box default to a white background?
sorry, I missed that second sentence.
Believe it or not, the code you sent DOES affect the comment box background color, as you mentioned. But it does NOT affect the post editor box background color - not in mine anyway. I see that it did affect your site by the screen shot you sent. This is a mystery to me.
I went through my css code with a fine tooth comb and wrote down every #hex in the whole code. Then I used an online html color code generator to view what each color looked like. Not one of them matches the darker shade of blue which is the background color of my post editor box. I don't think the problem could be located there in the css code.
Again, here is a possible clue - when I click the a/A button in the post editor (the wysiwyg toggle), the background changes instantly to white and all is good. However, activating the WYSIWYG mode in the Admin area does NOT solve the problem. I tried. So maybe the problem is somehow related to the wysiwyg code?
Believe it or not, the code you sent DOES affect the comment box background color, as you mentioned. But it does NOT affect the post editor box background color - not in mine anyway. I see that it did affect your site by the screen shot you sent. This is a mystery to me.
I went through my css code with a fine tooth comb and wrote down every #hex in the whole code. Then I used an online html color code generator to view what each color looked like. Not one of them matches the darker shade of blue which is the background color of my post editor box. I don't think the problem could be located there in the css code.
Again, here is a possible clue - when I click the a/A button in the post editor (the wysiwyg toggle), the background changes instantly to white and all is good. However, activating the WYSIWYG mode in the Admin area does NOT solve the problem. I tried. So maybe the problem is somehow related to the wysiwyg code?
Kerry Kistler- Forumember
- Posts : 43
Reputation : 0
Language : english
Re: How can I change the Text Editor Box default to a white background?
Okay lets try this.
Add that to your css.
- Code:
textarea.post{
background-color: #000000 !important;
}
Add that to your css.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: How can I change the Text Editor Box default to a white background?
Nope, but getting closer. Same dark blue background. BUT, when I toggle the "switch editor mode" the background does NOT change to white like it did - it now changes to my new color (a light blue). Soooo close.
Kerry Kistler- Forumember
- Posts : 43
Reputation : 0
Language : english
Re: How can I change the Text Editor Box default to a white background?
I am getting really confused now. Forget the switch editor mode.
When your WYSIWYG is off, what color do you want it to be?
The code i provided will change the color of that background when WYSIWYG is off.
When your WYSIWYG is off, what color do you want it to be?
The code i provided will change the color of that background when WYSIWYG is off.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: How can I change the Text Editor Box default to a white background?
I want it to be a light blue or white in either mode. When it opens to default it is dark blue. When I toggle WYSIWYG your code takes over and I see a light blue. I'm not sure if WYSIWYG is toggled on or off when I click it. I want the opening default to be either white or light blue.
Kerry Kistler- Forumember
- Posts : 43
Reputation : 0
Language : english
Re: How can I change the Text Editor Box default to a white background?
When you put in the code. It won't show the code but show the results. Thats when WYSIWYG is ON.
Otherwise if it just shows the code then WYSIWYG is OFF.
Now you got to tell me...for which ones which colors are showing & how you want it to be.
Otherwise if it just shows the code then WYSIWYG is OFF.
Now you got to tell me...for which ones which colors are showing & how you want it to be.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: How can I change the Text Editor Box default to a white background?
Gotcha. Default is ON and dark blue but I want it white. When OFF it is now light blue and that is fine.
Kerry Kistler- Forumember
- Posts : 43
Reputation : 0
Language : english
Re: How can I change the Text Editor Box default to a white background?
Can i see a copy of your css?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: How can I change the Text Editor Box default to a white background?
sure - but I don't think you want me to copy and paste here. How?
Kerry Kistler- Forumember
- Posts : 43
Reputation : 0
Language : english
Re: How can I change the Text Editor Box default to a white background?
Add it to a text file & then upload it here & provide a link.
http://easy-share.com/
http://easy-share.com/
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Kerry Kistler- Forumember
- Posts : 43
Reputation : 0
Language : english
Re: How can I change the Text Editor Box default to a white background?
Duh, i don't think you can change the background color of that when the WYSIWYG mode is on.
Because it generally shows how it will appear actually. So unless you put a background html color code in the normal mode, it won't display.
Because it generally shows how it will appear actually. So unless you put a background html color code in the normal mode, it won't display.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: How can I change the Text Editor Box default to a white background?
Huh? Are you saying that there is no way to make the dark blue go away by default?
Kerry Kistler- Forumember
- Posts : 43
Reputation : 0
Language : english
Re: How can I change the Text Editor Box default to a white background?
When WYSIWYG is on, you have a blue color?
Okay, i will take a look at your css & find a solution.
Okay, i will take a look at your css & find a solution.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: How can I change the Text Editor Box default to a white background?
Yes, dark blue with black type which is hard to read.
Note that in Admin>General>Messages>Config, the WYSIWYG is set to NO. It is turned off because I read a thread here that it can cause problems with some browsers like Chrome, Safari and others.
Note that in Admin>General>Messages>Config, the WYSIWYG is set to NO. It is turned off because I read a thread here that it can cause problems with some browsers like Chrome, Safari and others.
Kerry Kistler- Forumember
- Posts : 43
Reputation : 0
Language : english
Re: How can I change the Text Editor Box default to a white background?
Can you also post a screenshot for me to see of this dark blue color?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: How can I change the Text Editor Box default to a white background?
Here is link to shot. I'm too sleepy to figure out how to insert image in this editor.
http://www.easy-share.com/1909015674/screen shot.jpg
http://www.easy-share.com/1909015674/screen shot.jpg
Kerry Kistler- Forumember
- Posts : 43
Reputation : 0
Language : english
Re: How can I change the Text Editor Box default to a white background?
btw, I did clear cache in Firefox, restarted browser and the problem remains.
Kerry Kistler- Forumember
- Posts : 43
Reputation : 0
Language : english
Page 1 of 2 • 1, 2
Similar topics
» Editor toolbar is gone[Bold italic and such] the background is stuck at white, and the sites text is white.
» How To change the Default text using editor[color]
» How do I define the WYSIWYG editor background and text color seperately from the default?
» How To Change Text Editor Background, but where the icons are?
» white text on white background when post reply or make topic
» How To change the Default text using editor[color]
» How do I define the WYSIWYG editor background and text color seperately from the default?
» How To Change Text Editor Background, but where the icons are?
» white text on white background when post reply or make topic
Page 1 of 2
Permissions in this forum:
You cannot reply to topics in this forum