• Resolved allansgois

    (@allansgois)


    I need a bit of help.

    I built a beautiful menu on my one page website, everything is working fine with the locations it is scrolling, etc. But instead of smooth scrolling down and up when I click the menu links, it’s jumping to the page. The CSS class has been added, according to instructions.

    Any idea why it’s not scrolling, but jumping? I appreciate any help.

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

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

    (@malihu)

    Hello!

    The reason for not scrolling smoothly is because your theme uses the class data-slide in menu links. This class is usually used for actual sliders, so “Page scroll to id” excludes links with this class by default.

    The solution is very simple:

    Go to “Page scroll to id” settings. In selectors are excluded field, remove the a[data-slide] selector along with the comma/space that follows it, ie remove:

    a[data-slide],

    Save changes and test your links. The page should scroll smoothly ??

    Let me know

    Thread Starter allansgois

    (@allansgois)

    Thank you for the brilliant suggestion. I use an old theme which is no longer supported, the scrolling function as well as the ability to click on the menu links stopped working for some reason, so I resorted to the Page to Scroll ID plugin, which is great!
    So I deleted the selector as you instructed. But now only some of the menu links are scrolling, whilst others are still jumping. Any idea why?

    Plugin Author malihu

    (@malihu)

    No problem ??

    It’s probably because some of your links URL is not valid. For example, you have an empty space in your “Psychoanalytic Psychotherapy” link and target.
    Change the link URL to:

    #Psychoanalytic-Psychotherapy

    and the target id to:

    Psychoanalytic-Psychotherapy

    and it should work (do the same with the other links like “About”, “Contact” etc.).

    Thread Starter allansgois

    (@allansgois)

    That’s amazing advice. Thank you, you’re star!

    Plugin Author malihu

    (@malihu)

    You’re welcome ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Jumping to page instead of smooth scrolling’ is closed to new replies.