• Resolved mikecarnohan

    (@mikecarnohan)


    We’ve been using the Page scroll to id plugin for a while, and in general, it’s been great. Recently, we migrated domains and have been testing the site under its updated URL, and have found that page scrolling is working for desktop but not for mobile. Currently, when you click an anchored link, instead of scrolling to its target, it scrolls to the top of the page. I’ve seen this reported in another thread here, but we’ve tried the two recommendations, setting “… delay for scrolling to target on page load” to 500 ms, and checking ” Prevent other scripts from handling plugin’s links (if possible)” to no avail. You can see an example of this on the page [ redundant link removed ], by clicking the link “If you are interested in carrying 82S in your clinic, spa, salon, or practice, [link] fill out the form below. [/link]” when viewing the page either in chrome for mobile, or by resizing a desktop browser so that it is at min. width.

    Any recommendations would be greatly appreciated!

    • This topic was modified 4 years, 2 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author malihu

    (@malihu)

    Hello,

    It seems that your #inquire target section is hidden on mobile (it’s set to display: none in CSS). When a target section is hidden, the link pointing to that section won’t work.

    The visible “inquire” form target on your mobile viewport is inquire_.

    So, either you need to have a mobile link to #inquire_ or change the mobile “inquire” form id to inquire.

    Does this make sense?

    Basically, your desktop target id is inquire and your mobile target id is inquire_, but your link is always set to #inquire. That’s why it works only on desktop.

    Let me know 🙂

    Thread Starter mikecarnohan

    (@mikecarnohan)

    That was totally the issue. Ducked into the code and sorted the hidden divs and IDs, and now everything is working.

    Thank you for the amazingly fast and helpful response Manos!

    Plugin Author malihu

    (@malihu)

    You’re welcome 🙂

    Marking this as resolved.

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

The topic ‘Plugin not working on mobile (any more)’ is closed to new replies.