Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1378360
    Nabeel A
    Moderator

    Hi again,

    Thank you for providing the credentials. I went ahead and add the previous code I gave you in your child theme’s functions.php:

    function my_login_logo() { ?>
        <style type="text/css">
           body.login div#login h1 a {
                width:100% !important;
                height:100px !important;
                background-size:contain !important;
            }
        </style>
    <?php }
    add_action( 'login_enqueue_scripts', 'my_login_logo', 9999 ); 

    And it’s working fine now. Please clear your browser’s cache and check your login page again.

    Cheers!

    #1378405

    Working but there is a link to https://wpfr.net on the image and I do not want this.

    #1378837
    Nabeel A
    Moderator

    Hi again,

    You can replace the previous code with this:

    function my_login_logo() { ?>
        <style type="text/css">
           body.login div#login h1 a {
                width:100% !important;
                height:100px !important;
                background-size:contain !important;
                pointer-events: none;
            }
        </style>
    <?php }
    add_action( 'login_enqueue_scripts', 'my_login_logo', 9999 ); 

    Let us know how this goes!

    #1379829

    Thank you Nabeel A. Problem solved. Great service!

    #1379919
    Rahul
    Moderator

    Glad to hear it and thanks for your kind words!

    Feel free to ask us again.

  • <script> jQuery(function($){ $("#no-reply-1355810 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>