Melinda Posted August 2, 2009 Share Posted August 2, 2009 Hi,Can someone please help me keep this background that I have on the body tag and keep the tinymce backgrounds white in the store admin for typing text?http://72.9.232.235/With this background on the body tag in the FO it shows the same hearts in the tinymce editor in the BO and on all the cms pages in the BO and on part of the "read terms" on the shipping page when checking out.I have tried setting the tinymce rte styles to a white background but nothing is working.I sure would appreciate any help!Thank you! Link to comment Share on other sites More sharing options...
kimlop Posted August 4, 2009 Share Posted August 4, 2009 the problem is in the code of pages of backendes: in the adminproducts.php at the line 1983 --> content_css : "'.__PS_BASE_URI__.'themes/'._THEME_NAME_.'/css/global.css",the tinymce is personalized with your global.css where at tag body is associed the css of site background Link to comment Share on other sites More sharing options...
Melinda Posted August 4, 2009 Author Share Posted August 4, 2009 I found out that only a graphic has problems. You can put a hex color on the background of the body tag and the tinymce editor stays white but if you put a graphic on the body tag then tinymce shows the graphic. Link to comment Share on other sites More sharing options...
Shadowalex Posted August 16, 2009 Share Posted August 16, 2009 I use backgroung-image in the global.css body section: background-image: url(../img/bg.jpg); background-repeat: repeat-x; and tinymce editor use this on the back-end. But I don't want this. I want only white background.What is the solution? Help! Help! Help! :-) Link to comment Share on other sites More sharing options...
shanesarah Posted August 16, 2009 Share Posted August 16, 2009 What I did to do it was modify my background image and save it. This updates the way it looks, which is what you are looking for, right? Link to comment Share on other sites More sharing options...
nate_02631 Posted November 6, 2009 Share Posted November 6, 2009 Apologies for resurrecting an old thread, but I was looking for the solution to this as well and found it, so I'll post it here.TinyMCE generates a class for the editor(s) on the page so they can be overridden in the global.css... Somewhere after the first body I have: /* TinyMCE specific rules */ body.mceContentBody { background-color: #FFF; background-image: none; text-align: left; margin: 0; padding: 0 15px; } .mceContentBody p { margin: .8em 0; } Which does the trick for me, and does not require hacking of any module files ;-) (BTW, you may have to clear cache to see efffects as it's "finicky" about updating the tinyMCE css) Link to comment Share on other sites More sharing options...
kyrre Posted November 10, 2010 Share Posted November 10, 2010 Thank you!It worked for me too I added the Christmas theme, and all of the sudden my TinyMCE editor was impossible to use. Link to comment Share on other sites More sharing options...
jamec Posted November 10, 2010 Share Posted November 10, 2010 Hi! I'm newbie, too. I've just visited this forum. Happy to get acquainted with you. Thank Link to comment Share on other sites More sharing options...
Recommended Posts