Remove Logo
-
Mark,
You do great work. I really like the Pages Link To plugin. Its a staple for me on all sites. Could I ask you a question about removing the WP default logo completely. I know the following function I found online removes the logo as I tested it:
<?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’ );
?>However, the login box shift upward on the screen and I don’t know how to get the login box centered like it was before I removed the logo. Visually the login box shifting 3-4 inches upward puts it in too high of a position in my opinion.
Please assist if you know a quick fix to keep the login box centered on the login page.
Kind regards,
Bobby
- The topic ‘Remove Logo’ is closed to new replies.