Skip to content

Instantly share code, notes, and snippets.

@ericnkatz
Created February 7, 2014 22:08
Show Gist options
  • Save ericnkatz/8873005 to your computer and use it in GitHub Desktop.
Save ericnkatz/8873005 to your computer and use it in GitHub Desktop.
quick wordpress login background to black and whatever other styles you want
function custom_loginpage_head()
{
?>
<style>
body.login {
background:#000 !important;
}
</style>
<?php
}
add_action("login_head","custom_loginpage_head");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment