PopWindows using background from theme.
Drandarian Grey - June 8, 2009 - 19:45
| Project: | Image Assist |
| Version: | 6.x-2.0-alpha4 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
I am using the Acquia Marina theme but when I go to use the image assist with wysiwyg and tinymce. When I use the popup window it has the same theme background as Marina is there a way to stop this?

#1
I have the same issue. The theme background is used on the popup making the popup unusable.
#2
I'm also having this problem. Since mine is a dark background, I can't view the dark text. This makes the module difficult to impossible to use.
Changing to a bug report.
See attached image for the problem.
#3
Ditto
#4
In your theme's page.tpl.php, make sure that the body tag includes the following:
<body class="<?php print $body_classes; ?>">Then edit your CSS file so that your background is assigned like so:
body.front, body.not-front {/* all style rules pertaining to the font & background color or image. e.g.: */
background: url(path/to/bkgrnd.jpg);
}
That will keep the site's background image out of FCKEditor and should work for Image Assist as well.
#5
Thanks, that did work for the thumbnail pop up, but when I click on Upload, it's readable at the top, then half way down the background switches to dark blue (the theme background) and the text is still unreadable. Unfortunately, CSS is not my strong point!
#6
Matt,
Point me to the site and I will take a quick look. I don't think this is a bug for Image Assist - more a theme issue.
--Mike
#7
Go to http://thepositiveword.com and create yourself an account. Let me know and then I'll give you the permission level needed to add images.
Thanks
Matt
#8
Matt,
Created an account. We can likely finish resolving this via eMail. Ping me at the account I signed up with.
--Mike
#9
I am having this issue as well. My custom theme has a dark background image, which is showing up in the image assist popup, and making the text unreadable. I tried adding
body.img_assist {background: #fff;}to my style.css, but that didn't do anything. Help, please! In my theme's page.tpl.php, my body tag is written this way:<body<?php print phptemplate_body_class($left, $right); ?>>so I don't know how to implement the suggestion that is listed above.#10
#11
Nevermind. The background color is now the default gray and I have NO IDEA why it changed.
#12
Okay, now it's back to the dark background image. Help, please!
#13
Anyone? Surely someone else had and solved this issue.
#14
Try this (works for me)... open your style.css file and add the following to it:
body.img_assist {background-image: none;
}
Clear Drupal's caches (especially if you have CSS aggregation and other caching enabled) at Administer > Site configuration > Performance.
Next clear your browser's cache. The changes don't appear to take hold immediately unless you do this.
Go back to your site and reload the page and open up an Image Assist window. The background image should now be gone.
Hope this helps.
#15
Oh my god, it worked. Thank you sooooo much. I feel dumb that I didn't try that earlier.
#16
Thanks Keyz! On the sky theme I had this in my appearance.css:
html,body {background: #314C74 url('../images/bg-body.png') repeat-x left top;
}
I added your body.img_assist code but found I had to remove 'html,' from the above. It now works fine, hopefully I've not caused a problem elsewhere!
#17
Automatically closed -- issue fixed for 2 weeks with no activity.