Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1272861
    444media
    Participant

    I have used the White Label logo many times and never had an issue with it, and it’s a very simple plugin, however it seems that no matter what size I make the logo image (it’s currently set to 319px wide because it says on the settings page that it must be less than 320px wide), the logo appears extremely small. See attached screenshot.

    Site URL: crowley.444.media
    Login: crowley.444.media/wp-admin

    Wordpress, X, X Child, and Cornerstone all up to date with latest versions. Just installed theme today.

    Thanks

    #1272866
    Christopher
    Moderator

    Hi there,

    Please connect to FTP and add following code wp-content/plugins/x-white-label/css/style.css :

    body.login div#login h1 a {
        background-size: contain;
        width: 100%;
    }

    Hope it helps.

    #1274006
    444media
    Participant

    Where exactly in the style.css doc do I paste this code? I pasted it under “Form Elements” as the last piece of code (just above “/* About Accordian”) See attached screen shot. It didn’t work. Logo still appearing very small

    #1274200
    Nico
    Moderator

    Hi There,

    I could see this code in your setup.

    body.login div#login h1 a {
              width: px;
              height: px;
              background-image: url(http://crowley.444.media/wp-content/uploads/2016/11/CSlogoforlogin319px.png);
              -webkit-background-size: px px;
                      background-size: px px;
            }

    We need to locate it so we could fix this. Would you mind sharing us your FTP so we could check it further.

    Don’t forget to set it as private reply.

    Thanks.

    #1275738
    444media
    Participant
    This reply has been marked as private.
    #1275772
    Paul R
    Moderator

    Hi,

    I went ahead and fix it for you by adding this in your child theme’s functions.php file.

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

    Thanks

    #1276460
    444media
    Participant

    Looks great now…thanks! Just curious…why/how did this happen? I’ve never had a problem with it before, and I installed it and tried to set up immediately after installing the theme…so couldn’t have been some other plugin.

    #1276571
    Jade
    Moderator

    Hi there,

    A plugin might have caused it but also, the size of the logo image file might have changed the expected output that’s why we need to adjust it through CSS.

    #1276585
    Friech
    Moderator

    Hi There,

    It could be a plugin conflict, or the way you added the logo URL. Did you put it as a relative link? Try adding it as an absolute link.

    Thanks.

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