Ready to get started?Download WordPress


Page scroll to id
Scroll not working on iphone? (4 posts)

  1. popgirl23
    Posted 10 months ago #

    My site...


    the scroll doesnt seem to be working for the iphone.

    I've also installed WP Scroll To Top that IS scrolling. But the anchors (Page Scroll 2 ID) are not.

    Anyone help? Thank you.


  2. malihu
    Plugin Author

    Posted 10 months ago #

    Does the plugin work if you set it to scroll to #top (same link/id as WP Scroll To Top)?

    Maybe it has something to do with the CSS positioning or visibility of the target elements. Try removing visibility:hidden from the target anchors.

  3. popgirl23
    Posted 10 months ago #

    hhhmmm I removed the visibility:hidden style from target anchors anchors. That didn't work.

    I also saw found somewhere else to try adding this to the anchor styles:

    That didn't work.

    I did create a small hand written test scroll (lower right of page) using only #top and that worked.

    Im still not sure why the Page Scroll To Id scrolling function isn't working for small devices? Even just with a narrow width browser. It just jumps to anchor.

  4. malihu
    Plugin Author

    Posted 10 months ago #

    Does any other script bind click event(s) on your mobile menu links?

    I checked your menu links in developer tools and it seems that normal menu has the 'Page scroll to id' click handler which works. You mobile links seem to have another click handler (2 click handlers total) and those links do not work. Maybe another script/plugin makes your mobile links "jump" to the ids below or something similar?


You must log in to post.

About this Plugin

About this Topic