Home › Forums › Support › Logo wp-admin does not change › Reply To: Logo wp-admin does not change
May 30, 2016 at 11:17 pm
#198191
Tom
Lead Developer
Lead Developer
Looks like they made it so you have to be a little more specific.
Here’s what I’m using:
function generate_login_logo() { ?>
<style type="text/css">
body.login h1 a {
background-image: url(<?php echo get_stylesheet_directory_uri(); ?>/images/gp-logo.png);
}
</style>
<?php }
add_action( 'login_enqueue_scripts', 'generate_login_logo' );