WordPress.org

Ready to get started?Download WordPress

Forums

login logo distorted (4 posts)

  1. rabid
    Member
    Posted 5 months 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:
    http://www.monroeemployeestest.com/wp-login

    Thanks,

  2. lorbach
    Member
    Posted 5 months ago #

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

    Happy WPing!

  3. rabid
    Member
    Posted 5 months ago #

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

  4. wiresplus
    Member
    Posted 5 months ago #

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

Reply

You must log in to post.

About this Topic

Tags

No tags yet.