/** * Insert custom login logo */ function custom_login_logo() { echo ' <style> .login h1 a { background-image: url(image.jpg) !important; background-size: 234px 67px; width:234px; height:67px; display:block; } </style> '; } add_action( 'login_head', 'custom_login_logo' );
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter