black background - problem with fields (black on black)

davidwwatts

Joined: 2007-12-06
Posts: 35
Posted: Sun, 2008-09-28 16:01

Hi,

I'm using a modified Siriux style and want to make the background all black. I have it mostly working but I'm having problems with some of the fields. In many forms, the background and the text of the text fields are both black resulting in the text fields being unreadable.

To see what I mean, go to http://dkzee.com/photos/main.php and click Login. The username and password fields have this problem. I was hoping that these fields would have a class parameter but they don't. I don't really want to add a class parameter to every field in every form.

How can I change the background of these fields to white?

Thanks.
David.

Gallery version = 2.2.6 core 1.2.0.8
PHP version = 5.2.6 cgi
Webserver = Apache/2.0.63
Database = mysqli 5.0.51a, lock.system=flock
Toolkits = Exif, Gd, ImageMagick, ArchiveUpload
Acceleration = none, none
Operating system = FreeBSD rs15.whbdns.com 6.2-RELEASE-p12 FreeBSD 6.2-RELEASE-p12 #0: Sat Sep 6 01:30:14 GMT 2008

:/usr/obj/usr/src/sys/SMP-RS amd64
Default theme = zam
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17
Rows in GalleryAccessMap table = 7
Rows in GalleryAccessSubscriberMap table = 10
Rows in GalleryUser table = 2
Rows in GalleryItem table = 9
Rows in GalleryAlbumItem table = 2
Rows in GalleryCacheMap table = 0

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2008-09-28 19:13

I think it might be a bit easier to install a black color pack. but reading the codex page:
http://codex.gallery2.org/Gallery2:Themes:siriux says the theme is not colorpack compatible.

If that is not the way you want to go you have to edit the css you are using:
http://gallery.menalto.com/node/70126
you might have to add some classes to the css as well as the html( templates ) to get the form fields the way you want.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
davidwwatts

Joined: 2007-12-06
Posts: 35
Posted: Mon, 2008-09-29 01:11

Excellent tip Dave, thanks.

I installed Firebug and it pointed to exactly what I needed. I have added the following to my style.css file - it overrides the background color setting for styles already defined in gallery.css (I chose to override so as to keep gallery.css "clean").

Quote:
#giFormUsername, .giFormUsername {
background-color: white;
}

#giFormGroupname {
background-color: white;
}

#giFormPassword {
background-color: white;
}

Thanks very much!
David.