login logo distorted (4 posts)

  1. rabid
    Posted 2 years ago #

    hello, I'm having the famous issue with my logo being distorted on the login screen. I've tried everything from changing the background-size proprty to auto in my admin css file, to adding the function

    function custom_login_background_size() {
    echo '<style type="text/css">.login h1 a { background-size:auto; }</style>';
    add_action('login_head', 'custom_login_background_size');

    to the functions.php file of my theme. Nothing works. I am using a plugin called Simple Intranet to add the logo to the login screen, I'm wondering if I need to alter a .css file in the actual plugin? Any help is greatly appreciated. The link to the site is:


  2. lorbach
    Posted 2 years ago #

    Hello rabid. Can you recreate your logo at 320x80? That will prevent it from being stretched.

    Happy WPing!

  3. rabid
    Posted 2 years ago #

    that works but the logo is pretty small, I was hoping to make it a little bigger.

  4. wiresplus
    Posted 2 years ago #

    OK, so make it bigger by exact proportions ie, 640 x 160 is double

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.