Closed (won't fix)
Project:
Abarre
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2009 at 17:13 UTC
Updated:
10 Nov 2009 at 23:03 UTC
Jump to comment: Most recent
because the FCKEditor module edit window runs in an iframe, the backgound image specified in the style.css for the theme displays in the edit window as well, which is distracting.
I hacked around it by putting an ID on the in the page generator:
$ diff page.tpl.php page.tpl.php.orig
23c23
< print $body_classes; ">
---
> print $body_classes; ">
then using that id in the style.css:
$ diff style.css style.css.orig
102c102
< body#mainbody{
---
> body{
this is, of course, just one way to fix the issue; but it makes the theme look better if using any iframes...
thanks for the great theme!
Comments
Comment #1
toddgee commentedOOps... that first diff should read like this:
$ diff page.tpl.php page.tpl.php.orig
23c23
< print $body_classes; ">
---
> print $body_classes; ">
(got removed because it looks like HTML :^)
Comment #2
toddgee commentedCrap... one more time:
Comment #3
Anonymous (not verified) commentedI would simply recommend to create your own stylesheet for fck, and in general avoid using the theme css. Then you'll have a full control over the result and will avoid tons of display errors.
Comment #4
johnTEN commentedI have the same problem but I dont understand what you mean by "putting an ID on the in the page generator:' or where I would do that
Comment #5
bethhauck commentedI like to use the theme css because if my styles change, I don't have to recreate them in fckeditor. But fortunately I'm using my admin theme for content editing, and the body tag in my front end theme has different classes. So I just add my front end theme's body classes to the selector, and the fckeditor body doesn't get a background:
In my case the two classes .front and .not-front cover every page of the site - but of course which classes you need to add would depend on your theme.