Last active
December 18, 2015 17:39
-
-
Save andyknapp/5819721 to your computer and use it in GitHub Desktop.
Custom logo on WP login screen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ak_custom_login_logo() { | |
wp_enqueue_style( 'ak_custom_login_logo', get_stylesheet_directory_uri() . '/login.css' ); | |
} | |
add_action('login_head', 'ak_smj_custom_login_logo'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#login h1 a { | |
background-image: url("http://sitename.com/wp-content/themes/themename/images/logo-wp.png")!important; | |
background-size: 280px 115px; | |
height: 100px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment