Last active
April 11, 2019 06:10
-
-
Save WordPress-Handbuch/6f730b93064fba2eb3e4e99218a0bfde to your computer and use it in GitHub Desktop.
Change the WordPress login page logo to any other image
This file contains hidden or 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 wh_custom_login_logocss() { | |
echo '<style type="text/css"> | |
.login h1 a { background-image: url(/pfadunddateinamedeslogos.png); background-size: contain; width:315px; } | |
</style>'; | |
} | |
add_action( 'login_head', 'wh_custom_login_logocss' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment