How Do You Remove The WP Login Logo and Keep The Login Box Centered
-
I know how to remove the default WP login logo from the login page but the login box shifts upward on the screen. The following will remove the logo:
<?php
//
function my_login_logo() { ?>
<style type=”text/css”>
body.login div#login h1 a {
background-image: none;
background-size: 0 0;
height: 0;
margin: 0 auto 0;
width: 0;
}
}
</style>
<?php }
add_action( ‘login_enqueue_scripts’, ‘my_login_logo’ );
?>Does anyone know how to position the login box back to the center position position? I don’t know CSS or PHP and I can’t find anyone that has posted a fix for the positioning. Since the logo is removed the login box shifts up on the screen and visually it doesn’t look that great.
Please help, thanks.
- The topic ‘How Do You Remove The WP Login Logo and Keep The Login Box Centered’ is closed to new replies.