I would like put on the same line "Lost your password?" and "Back to Blog/Site" links.

While I'm posting that I take a look to this post and found my solution: Positioning the “Lost your password?” and “← Back to Site”

I've posted that for if it helps someone.

1 Answer 1


My solution. I added via functions.php the following:

function my_login_logo() { ?>
    <style type="text/css">
        .login #backtoblog{
          float: right;
          position: relative;
          top: -35px;
<?php }
add_action( 'login_enqueue_scripts', 'my_login_logo' );

That code move to right side and a little to top the 'Back to Blog/site' link.

Hope that helps!

  • For your information. If you find the answer satisfactory, you can accept your own answer. It shows other users that a working solution does exist. Sep 28, 2016 at 18:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.