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
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.).
That’s amazing advice. Thank you, you’re star!