WordPress.org

Ready to get started?Download WordPress

Forums

A5 Custom Login Page
[resolved] Centering the LOGO on login page (3 posts)

  1. Dhyana
    Member
    Posted 1 year ago #

    Hi,

    I can see where to add the logo, style the logo, etc (all done), but not where to position the logo over center over the login box.

    Any ideas?

    Thanks!

    http://wordpress.org/extend/plugins/custom-login-page/

  2. Dhyana
    Member
    Posted 1 year ago #

    Solved it myself:-)

    For those want to know how, here it is:

    Go to:

    site/theme/wp-login.php

    find the line (line 99-ish depending on the ) with the

    <h1>

    and make the changes there. For me I needed to change it to this

    <h1 style="margin-left: -350px;">

    It's A LOT easier to edit the html than the php, so this is an easy fix.

    Good luck y'all!

  3. tepelstreel
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Dhyana,

    actually you center the logo by giving the container the same width as the image has. If you hardcode it into your theme, you'll lose your changes with an update.

    Regards,
    Stefan

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic