Some text not seen in dark colored themes

cneumann - September 20, 2009 - 04:01
Project:Image Picker
Version:6.x-2.4
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi,

The module is working very well, but I am having a minor issue that is driving me nuts.
I am using D6 last stable build and the pretty much stock Colourise theme. When I am in add/edit mode some of the text cannot be seen unless the entire page is highlighted. (see attached.)

Thinking .css maybe...other screens, i.e. *MCE can be seen fine, just ImagePicker is obscured. I looked at the .css file in the module, but didn't think changing it would work. Other than this, the module is flawless.

Thanks very much.

AttachmentSize
screen1.jpg58.5 KB
screen2.jpg58.66 KB

#1

hutch - September 20, 2009 - 12:18

Imagepicker is inside an Iframe and some themes don't play well with Iframes ;-(
You can try copying imagepicker-page.tpl.php to your theme and altering things in there.

Hope this helps

#2

cneumann - September 22, 2009 - 05:19

I will try that out and let you know in a day or so how it went. Stay tuned.
Thanks,

#3

cneumann - September 23, 2009 - 00:43

No that didnt do it. I wish there was a way to force a white background...I tried to edit, but the css for the site is overriding it. Anymore ideas?

#4

daveeddydotcom - January 6, 2010 - 20:40

did anyone figure out a solution to this yet? I'm experiencing the exact same problem.

#5

hutch - January 6, 2010 - 21:41

Please read my answer at the start of this thread. This can be done, you need to find out which css id or class is generating the dark background and override it in imagepicker-page.tpl.php, having copied it to your theme.

#6

daveeddydotcom - January 6, 2010 - 22:38

Thank you. I'm sorry I misread your initial response, but what you said worked for me!

#7

hutch - January 6, 2010 - 22:52

Great!
Tell the list what you did so someone else can benefit ;-)

#8

daveeddydotcom - February 19, 2010 - 00:53

Probably one of the worst ways of dealing with this problem, but i copied imagepicker-page.tpl.php from the module and put it in my theme folder. From there i changed the <body> to <body bgcolor="#000000">

It's ugly, but it works.

#9

hutch - February 19, 2010 - 09:20

That is exactly what imagepicker-page.tpl.php is for. Themes vary enormously and this is how to cope. You could put this in the head:

<style>
  body {
    background: #000000;
  }
</style>

That should work but css can be picky ;-(

#10

cneumann - February 25, 2010 - 22:59
Status:active» closed

Thanks for all the help folks. I fianlly decided to abandon Image Picker completely for other reasons.

 
 

Drupal is a registered trademark of Dries Buytaert.