Skip to content

Instantly share code, notes, and snippets.

@mloza
Created January 11, 2020 10:20
Show Gist options
  • Save mloza/7a77ed74fa80ca08cb87f441af0a7a9e to your computer and use it in GitHub Desktop.
Save mloza/7a77ed74fa80ca08cb87f441af0a7a9e to your computer and use it in GitHub Desktop.
<?php
add_action('login_enqueue_scripts', function() { ?>
<style type="text/css">
#login h1 a, .login h1 a {
background-image: url(<?php echo get_stylesheet_directory_uri(); ?>/images/logo.png);
width: 185px;
height: 185px;
background-size: initial;
}
</style>
<?php });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment