Looks like the CSS is on wp-login.php in the <head>
Find
label {
color:#FFFFFF;
}
and change to
label {
color:#000;
}
Thread Starter
Ross
(@rlindsay)
Well, I looked in the wp-login.php file, and did not find that.
I think that the CSS is being called from another file, but I can’t seem to figure out which one.
This is what is in the <head>:
<head>
<title><?php bloginfo('name'); ?> › <?php echo $title; ?></title>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<?php
wp_admin_css( 'login', true );
wp_admin_css( 'colors-fresh', true );
if ( $is_iphone ) { ?>
<meta name="viewport" content="width=320; initial-scale=0.9; maximum-scale=1.0; user-scalable=0;" />
<style type="text/css" media="screen">
form { margin-left: 0px; }
#login { margin-top: 20px; }
</style>
<?php
} elseif ( isset($interim_login) && $interim_login ) { ?>
<style type="text/css" media="all">
.login #login { margin: 20px auto; }
</style>
<?php
}
do_action('login_head'); ?>
</head>
On my site it uses the CSS from
/wp-admin/css/login.css
Maybe try that and change the label property as above.
I’m having the same problem and its making me nuts. I changed the text color for labels in login.css and the .login colors in colors-fresh but not fixed. Help is greatly appreciated!!!
text-color
is wrong. Use color
instead and use an !important
modifier on it so that it doesn’t get overwritten… unless there’s some other color rule marked as !important
after.
Or you could use some login screen replacer, like SimpleModal Login.