Skip to content

Instantly share code, notes, and snippets.

@rickrduncan
Last active January 15, 2016 20:34
Show Gist options
  • Save rickrduncan/6042921 to your computer and use it in GitHub Desktop.
Save rickrduncan/6042921 to your computer and use it in GitHub Desktop.
<?php
//* Do NOT include the opening php tag
//* Login Screen: Change login logo
add_action( 'login_head', 'b3m_custom_login_logo' );
function b3m_custom_login_logo() {
echo '<style type="text/css">
h1 a { background-image:url('.get_stylesheet_directory_uri().'/images/login.png) !important; background-size: 311px 100px !important;height: 100px !important; width: 311px !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }
.login form { margin-top: 10px !important; }
</style>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment