1function wpb_login_logo() { ?>
2 <style type="text/css">
3 #login h1 a, .login h1 a {
4 background-image: url(http://path/to/your/custom-logo.png);
5 height:100px;
6 width:300px;
7 background-size: 300px 100px;
8 background-repeat: no-repeat;
9 padding-bottom: 10px;
10 }
11 </style>
12<?php }
13add_action( 'login_enqueue_scripts', 'wpb_login_logo' );
14