(SOLVED / LØST) Change the background-color in tiny_mce
(SOLVED / LØST) Change the background-color in tiny_mce
Hey all.
I'm using the tiny_mce (version 2.0.4) in my own site (version 2.9) with a white background - no problems.
Now I've installed the same tiny_mce on my daddys site (version 2.9), wich has a black background and therefore white text. But 'course the editors background is white, it's a bit hard work to edit the text: white text on white background...
It seems that both CSS' (the CMSimple template AND the tiny_mce templates (there are 32 .css)) are mixing.
Boiling all above to a simple question: Where do I change the background color of the text-area in tiny_mce?
Best regards from Kapunen
I'm using the tiny_mce (version 2.0.4) in my own site (version 2.9) with a white background - no problems.
Now I've installed the same tiny_mce on my daddys site (version 2.9), wich has a black background and therefore white text. But 'course the editors background is white, it's a bit hard work to edit the text: white text on white background...
It seems that both CSS' (the CMSimple template AND the tiny_mce templates (there are 32 .css)) are mixing.
Boiling all above to a simple question: Where do I change the background color of the text-area in tiny_mce?
Best regards from Kapunen
Last edited by Kapunen on Fri Jul 04, 2008 5:52 am, edited 3 times in total.
Re: Change the background-color in tiny_mce
Preben Dahl | Webmaster cmsimple.dk | Projekt-og domæne ejer Gert Ebersbach
Re: Change the background-color in tiny_mce
Hey Zips.
Thanks for your reply.
I've inserted:
- in my stylesheet.css in my template, but the result is exactely the same as prior... Any other suggestions?
\ Kapunen
Thanks for your reply.
I've inserted:
Code: Select all
form textarea#text{width:500px;}
.mceContentBody{/*background-image: none;*/ background-color: White; color: Black;}
\ Kapunen
Re: Change the background-color in tiny_mce
And you've cleared the browser cache?
Holger
Holger
Re: Change the background-color in tiny_mce
Hey Holger.
Yep...
\ Kapunen
Yep...
\ Kapunen
Re: Change the background-color in tiny_mce
Hmm,
You can try to use "body.mceContentBody".
But I think you should try the content_css - option:
But I don't know if it works with your version of TinyMCE
Isn't it possible to use the latest version?
Holger
You can try to use "body.mceContentBody".
But I think you should try the content_css - option:
http://wiki.moxiecode.com/index.php/Tin ... ific_rulesChange default text color/editor background in TinyMCE?
You need to specify a content css file with the content_css option in order to change the default text color or background of the editor. The specified CSS is loaded after the default CSS so you can use it to override. A good idea to check the CSS status of elements is to install Firebug addon to Firefox.
But I don't know if it works with your version of TinyMCE
Isn't it possible to use the latest version?
Holger
Re: Change the background-color in tiny_mce
Hi kapunen
I have now installed 2.0.4 and tested the css code as described in the link, and it works well
As Holger writes "And you've cleared the browser cache?"
In my tests, it appeared that I had to empty the browser cache completely, it means erase all offline content, after that it worked.
/ZiPs
I have now installed 2.0.4 and tested the css code as described in the link, and it works well
As Holger writes "And you've cleared the browser cache?"
In my tests, it appeared that I had to empty the browser cache completely, it means erase all offline content, after that it worked.
/ZiPs
Preben Dahl | Webmaster cmsimple.dk | Projekt-og domæne ejer Gert Ebersbach
Re: Change the background-color in tiny_mce
Hey Holger and Zip
\ Kapunen
+Holger wrote: And you've cleared the browser cache?
Holger
Have to try again ... I'll notify tomorrowZiPs wrote: In my tests, it appeared that I had to empty the browser cache completely, it means erase all offline content, after that it worked.
/ZiPs
\ Kapunen
Re: Change the background-color in tiny_mce
Hey folks
It works - had to clear everything and restart my machine.
Great thanks to Holger and Zip for helping out.
\ Kapunen
It works - had to clear everything and restart my machine.
Great thanks to Holger and Zip for helping out.
\ Kapunen