Title: Login page javascript auto scroll
Last modified: May 5, 2022

---

# Login page javascript auto scroll

 *  Resolved [Sam](https://wordpress.org/support/users/sambruton/)
 * (@sambruton)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/login-page-javascript-auto-scroll/)
 * Hi
 * I would like to find out how to remove the auto-scroll script that seems to jump
   to 50% of the page height. It’s happening on my custom page-login.php page.
 * It seems to happen when navigating back to it from the reset page or if you reload
   the page after going onto it. And also from clicking on the “Log in” buttons.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flogin-page-javascript-auto-scroll%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Kim White](https://wordpress.org/support/users/kimwhite/)
 * (@kimwhite)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/login-page-javascript-auto-scroll/#post-15618841)
 * Hello [@sambruton](https://wordpress.org/support/users/sambruton/),
 * Thank you for using Paid Memberships Pro.
 * I’m sorry this is not working as expected. Our plugin does not have a script 
   that would scroll the target up as this link is doing.
 * I see the login form is in a div with these classes
    `div class="loginForm col-
   10 col-lg-6 position-sticky position-lg-absolute>`
 * It looks like this could cause this on your page.
    “position-sticky position-
   lg-absolute”
 * You may need to edit the div that has the form div “pmpro_login_wrap”.
 * Kim W
 *  Thread Starter [Sam](https://wordpress.org/support/users/sambruton/)
 * (@sambruton)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/login-page-javascript-auto-scroll/#post-15622292)
 * Okay thanks Kim. I will take a look into this.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Login page javascript auto scroll’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paid-memberships-pro_f1dacb.svg)
 * [Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions](https://wordpress.org/plugins/paid-memberships-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paid-memberships-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paid-memberships-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/paid-memberships-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paid-memberships-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paid-memberships-pro/reviews/)

## Tags

 * [bugs](https://wordpress.org/support/topic-tag/bugs/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [scrolling](https://wordpress.org/support/topic-tag/scrolling/)

 * 2 replies
 * 2 participants
 * Last reply from: [Sam](https://wordpress.org/support/users/sambruton/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/login-page-javascript-auto-scroll/#post-15622292)
 * Status: resolved