Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#40751 new enhancement

Login form - Consider making Back to {site name} & Lost your password inline.

Reported by: pratik028's profile pratik028 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.4
Component: General Keywords: has-patch
Focuses: ui, administration Cc:


Will it not look good, if we make the login and Back to site button below the login-form inline? Or atleast we can remove padding-left from login and back to site button, so it will be aligned with the login form.

.login #nav, .login #backtoblog {
    font-size: 13px;
    padding: 0 24px 0;

Attachments (2)

login-screen.png (7.7 KB) - added by pratik028 7 years ago.
Expected button alignment
40751.diff (394 bytes) - added by subrataemfluence 7 years ago.

Download all attachments as: .zip

Change History (5)

7 years ago

Expected button alignment

#1 @swissspidy
7 years ago

Hey there,

Welcome to Trac and thanks for your report!

Off the top of my head, there is one big drawback to your suggestion: when the site name is really long and/or you're using WordPress in a language other than English, the two strings become long enough to wrap and you end up with two lines again.

#2 @pratik028
7 years ago

Hi @swissspidy,
What do you think of removing padding-left & padding-right from those links? So they will be aligned with the form

Last edited 7 years ago by pratik028 (previous) (diff)

#3 @subrataemfluence
7 years ago

  • Keywords has-patch added

It would rather be more generic and self-explanatory if we can just use "Back to home". And we can show a tooltip where we can display the site's name e.g. "Back to site_name".

It would probably be easier to put things in line with one another.

What do you think?

I know this patch is not address the exact discussion but I thought it might worth adding since the discussion also includes length of the text.

Note: See TracTickets for help on using tickets.