Skip to content

Instantly share code, notes, and snippets.

@mloza
Created January 11, 2020 10:20
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
<?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