Plugin Author
malihu
(@malihu)
If “Prevent other scripts from handling plugin’s links” option cannot remove the theme event automatically, you’ll have to do it manually.
First check if there’s an option to disable smooth scrolling for the divi theme. See if the option “Smooth Scrolling” in divi theme options (“General” tab) does this (see here).
If the above doesn’t work, you’ll need to modify the js file that does this. The file is:
...themes/Divi/js/custom.min.js
Find the text:
$('a[href*="#"]:not([href="#"])')
and change it to:
$('a[href*="#"]:not([href="#"]):not(._mPS2id-h)')
Save the file and test your links.
Let me know
Plugin Author
malihu
(@malihu)
UPDATE:
I’ve pushed a minor update on the “Prevent other scripts from handling plugin’s links” option in plugin’s development version.
Before modifying any file, please get/install/activate development version, enable “Prevent other scripts from handling plugin’s links” option and let me know if it works:
https://downloads.wp.xz.cn/plugin/page-scroll-to-id.zip
It works well.
Thank you.
-
This reply was modified 7 years, 7 months ago by
onepage72.
Plugin Author
malihu
(@malihu)
Yes of course. When the new plugin version (1.6.4) will be released, it’ll contain this update so you’ll be able to update it as you always do 😉