• Resolved kamleshweb

    (@kamleshweb)


    Hi there,

    I am using “MailChimp for WordPress plugin” and having a page scroll issue. When i am clicking on submit button, page is scrolling to top. But i don’t want this. I want that after reloading page, it should be on their right position. So please find the issues and let me know.

    Thank You
    Kamlesh Kumar

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hello Kamlesh,

    To look into the issue we will need to test the page where you have placed the form. Can you please share the link?

    Thread Starter kamleshweb

    (@kamleshweb)

    Thank you for your quick response. Website url is here https://cxncept.com/blog

    Plugin Contributor Lap

    (@lapzor)

    Hi,

    I only see a form on the top of the page, and after refreshing the page scrolled back to that form for me.

    Where exactly do you have the problem, is there another form besides the one on top of the page? What browser are you testing in?

    Thanks,

    Thread Starter kamleshweb

    (@kamleshweb)

    Hi Lap,

    There is a subscription form below the title “Blog”, when you put your email id and click on the subscription button, page will starting reload & move a little bit down. This is the main problem after reloading page. I want after reloading page, it should be on their original position before it was(means top scroll should be zero).

    Thanks

    Plugin Contributor Lap

    (@lapzor)

    Hi,

    I think it is caused by some conflicting CSS from your theme.

    Maybe in your case simply disabling the auto scroll is a solution?

    You can add this code to your (child) theme’s functions.php

    add_filter( 'mc4wp_form_auto_scroll', '__return_false' );

    Hope that helps,

    • This reply was modified 7 years, 10 months ago by Lap.

    Useful filter, thanks for this.

    Thank you, that worked 4 me

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Why page scroll to top after submit button ?’ is closed to new replies.