Archived topic
Problem with Touchy (by Bonfire) plugin menu items
7 replies · Started by Gábor on March 22, 2018
When menu items is clicked, the page scrol up to the top of the page. I tested Touchy plugin with other themes and works properly.
How can I test it? I checked your menu on desktop and mobile and didn't see any issues.
Have you checked these menu items?
Ah, didn't see those.
When I click them, nothing happens at all. It's like there's some sort of javascript preventing the execution of the link.
I can't think of anything within GP that would do that.
Have you tried deactivating your other plugins one by one to see if one of them is causing the conflict?
I tried, the problem only occurs when the GP premium plugin is turned on.
I disabled the moveTo.min.js file, and now the menu works well.
What's the best solution?
That file only exists if smooth scroll is turned on in "Customize > General".
It should only apply to links with the class smooth-scroll.
Yes, the touchy.js and touchy.css also uses smooth-scroll class.
$(".touchy-by-bonfire").addClass("smooth-scroll");
That's strange - I'm not seeing that class being added to any of the links they add.
That would definitely be the incompatibility though - you'll likely need to add a different smooth scroll script.