How to Add Custom Styling CSS to the WordPress Login Page

Sometimes there is a need to style the wordpress login or register pages.  All you need to do is add a function to the functions.php file.


Simply add this to the functions.php file:

add_action(‘admin_head’, ‘admin_custom_css’);

function admin_custom_css() {
echo ‘<style>
.login #nav a { color: #dcc883  }
body.login { background: #000}</style>’;