Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1138595
    mycustomsoftware
    Participant

    I followed the functions.php code from this post https://community.theme.co/forums/topic/white-label-extension-login-logo-too-small/ but it is not working.

    #1138678
    Joao
    Moderator

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Thanks

    Joao

    #1142133
    mycustomsoftware
    Participant
    This reply has been marked as private.
    #1142646
    Rupok
    Member

    Hi there,

    Thanks for writing back. You can update the code a bit for the instruction here (https://community.theme.co/forums/topic/white-label-extension-login-logo-too-small/#post-246031) :

    function my_login_logo() { ?>
        <style type="text/css">
         .login h1 a {
            background-size: 100% auto;
            height: 100px;
            width: 250px;
          }
        </style>
    <?php }
    add_action( 'login_enqueue_scripts', 'my_login_logo' );

    Hope this helps.

    #1143490
    mycustomsoftware
    Participant

    I added that code, it didnt do anything

    #1143802
    Jade
    Moderator

    Hi there,

    Please update the code previously suggested to:

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

    If this does not help, please provide us with login credentials so we can take a closer look. To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1145205
    mycustomsoftware
    Participant

    That updated code worked. Thank you!

    #1145396
    Joao
    Moderator

    Glad to hear it 🙂

    Let us know if you need help with anything else.

    Joao

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