• Resolved m2hewitt

    (@m2hewitt)


    Hi Guys,

    i have the same problem with other users, but my behavior is with betheme.

    i already setting up the option ” Prevent other scripts from handling plugin’s links (if possible)” but the problem is still here.

    thanks

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

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

    (@malihu)

    Hi,

    I checked your page and “Page scroll to id” is completely missing. None of its scripts are included in the page and seems like it’s not activated.

    Is the plugin activated? Does your theme have wp_head() and wp_footer() functions?

    • This reply was modified 7 years, 5 months ago by malihu.
    Thread Starter m2hewitt

    (@m2hewitt)

    Hi,

    thanks for your reply.

    sorry, now is activated.

    For the landing page, the footer and header are disabled.

    Regards,

    Plugin Author malihu

    (@malihu)

    You need to enable the plugin on your custom links. Go to “Page scroll to id” settings and change the “Selector(s)” field value to:

    a[href*=#]:not([href=#])

    Save changes and test your page.

    Thread Starter m2hewitt

    (@m2hewitt)

    now is works!

    Thanks for your support.

    Hey Malihu, I came across this thread and it helped me fix my site! Was just wondering why changing my selector from “a[rel=’m_PageScroll2id’]” to “a[href*=#]” allowed smooth scrolling on my page. For background, my page was smooth scrolling only on page load and jumping otherwise. Thanks!

    Plugin Author malihu

    (@malihu)

    @lnorman Changing the selector to a[href*=#] instructs the plugin to handle any link with a hash (#) in its URL.

    Having the default selector “a[rel='m_PageScroll2id'] instructs the plugin to handle links created by “Page scroll to id” shortcodes and buttons as well as any other link that has a rel attribute value of m_PageScroll2id.

    So, your links were not working because they didn’t have this rel attribute and were not created by “Page scroll to id” functions (e.g. shortcode, toolbar buttons etc.).

    I’ve developed the plugin in such way, so it handles (by default) only links created by itself and not all links with a hash. This way the user has full control and makes “page scroll to id” impossible to break or conflict with other plugins or the theme itself.

    Awesome, thanks for the response!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘jump instead scroll’ is closed to new replies.