• 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • try to use:

    body.login div#login h1 {
    height: 84px;
    }

    Thread Starter rgosse75

    (@rgosse75)

    Michael,

    Not sure if I put that in the right place. That didn’t seem to work. I assume that is for CSS?

    I installed simple custom CSS plugin and pasted that in but to no avail.

    Regards,

    Bobby

    The following will remove the logo:

    add the suggested CSS to that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How Do You Remove The WP Login Logo and Keep The Login Box Centered’ is closed to new replies.