Background:
It seems the custom-designed logo of the login form gets cropped or truncated if you update your WordPress installation to 3.8 or later.
Just for background & history of the WordPress login form, the logo was something rectangular in shape, as shown below:
My custom design of my Studio’s logo was the right fit & was working fine, as shown below:
Problem Statement:
But when WordPress updated its codebase to version 3.8, it had the look of a round or circular jewel, As shown below:
& that created panic in the WordPress community as all custom logos got cropped or truncated by circular masks, which was something looking like this:
Solution:
But I later found the fix for this by just updating the custom login logo code in functions.php to this:
function mas_custom_login_logo() {
echo '<style type="text/css">
#login h1 a { background-image:url('.get_bloginfo('stylesheet_directory').'/inc/images/login/wp-ma-logo.png) !important; background-size: 300px 75px !important; height: 75px !important; width: 300px !important; }
</style>';
}
add_action('login_head', 'custom_login_logo');
Note: change the width & height desired numbers & also change the path of the image URL & image name.
Again, after the update, everything was working fine with the expected & correct result.
I hope the above code will help you to get the same result you expect & intended.
Thanks & Regards
Mandar Apte