Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Focus border around logo

Discussion in 'Misc WordPress Requests' started by dineshkashera, Oct 24, 2017.

  1. dineshkashera

    Guest

    Reply To: Focus border around logo, by dineshkashera

    Hello,
    You can’t remove the border around WordPress logo because it is complete image.
    Please see this image
    http://www.maurascuderi.com/wordpress/wp-admin/images/wordpress-logo.svg?ver=20131107

    To change logo or modify logo you can do using below code:

    function my_login_logo() { ?>
    <style type="text/css">
    #login h1 a, .login h1 a {
    background-image: url(<?php echo get_stylesheet_directory_uri(); ?>/images/site-login-logo.png);
    height:65px;
    width:320px;
    background-size: 320px 65px;
    background-repeat: no-repeat;
    padding-bottom: 30px;
    }
    </style>
    <?php }
    add_action( 'login_enqueue_scripts', 'my_login_logo' );

    To get more help visit this link : https://codex.wordpress.org/Customizing_the_Login_Form

    Thanks

    Reply To: Focus border around logo
     
    #1

Share This Page

Web Hosting