Custom login logo not centered (4 posts)

  1. footy4kids
    Posted 6 years ago #

    I have used the Register Plus plugin to change the logo on my login page.

    The problem is, it's not centered above the login fields.

    You can see the login page here:


    Does anyone know how to correct this?

  2. ballinascreen
    Posted 6 years ago #

    Just quickly looking at it, I think it's an issue with your stylesheets - more specifically the 'h1 a' modifiers - if you view the source of your login page, you'll see some inline CSS (between the <style></style> tags) which sets the width of the 'h1 a' block to 290 pixels (290px) - I think you should either increase this to 326px or remove it, to match the size of the enclosing block (h1) - or change the image so that it's 326 pixels wide :)

    Just a guess.

  3. footy4kids
    Posted 6 years ago #

    Thanks for the info.

    I tried editing the CSS as suggested but that didn't work.

    I have found the answer though.

    I unticked the box in misc settings 'Organize my uploads into month- and year-based folders' before uploading the logo.

    Don't know why that worked, but it did!

  4. ballinascreen
    Posted 6 years ago #

    Yeah - if you inspect the HTML source now, it seems to have added additional inline stylesheet info - setting the width of the 'login h1 a' block to 326px - that wasn't there before :) Bizarre!

    Well done for sorting it out though :)

Topic Closed

This topic has been closed to new replies.

About this Topic