Jump to content

newbie needs css style help!


Recommended Posts

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

the problem is in the code of pages of backend

es: 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

  • 2 weeks later...

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! :-)

10627_1iAL1chM0BMM6Y4hLXYD_t

Link to comment
Share on other sites

  • 2 months later...

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

  • 1 year later...
×
×
  • Create New...