Impossible to disable "Scroll Top Anchor"

Hi! We are having an issue on our website. The Scroll Top Anchor function is in contrast with a jQuery script in a page, so the script doesn’t work. We tried to switch off the Scroll Top Anchor for whole website, but even if we apply our changes nothing happens! The Scroll Top Anchor is still there, we cannot turn it off.

Could you please help?
Thanks

Eggtronic

Hi There,

Thanks for writing in!

Can you please confirm if you have switched off the link through Theme Option -> Miscellaneous

If yes and it still coming then it must be due to some third party plugin or script causing the issue.
You can narrow down all third-party plugin by disabling one by one and also remove all third party JS file. If that doesn’t help please send us your login details with website URL in a secure note so that we can have a look.

Thanks

Yes, I confirm we have switched off the link in Theme Option -> Miscellaneous.
Since we are using the Child theme, we switched it of from both the Theme Option and the Appearance -> Customize - Miscellaneous section.

I can send you login details in private.

Hello @Eggtronic,

Thanks for updating the thread. :slight_smile:

I think it’s because of some conflicting scripts. I tried deactivating scroll to top under theme options panel and it seems that the changes are not taking place. As it’s a live website we are not allowed to fiddle with the same. In that regards please try out the solution suggested by my colleague @basanta i.e testing for plugin conflict. I also see that you have activated minification. Please make sure under W3 total cache you have disabled minification, especially CSS and JS. X Theme assets comes pre-minified and enabling minification increases the probability of conflicts.

You can also try adding following CSS under X > Theme Options > CSS to hide scroll to top button. Please note that this will only hide the scroll to top button visually:

body .x-scroll-top.right {
    display: none;
}

Thanks.

Hi,

thanks for reply. I have tried disabling plugins and apply changes, but nothing happened.
I removed minification, and nothing changed.
Unfortunately hiding scroll is not what we need, because the problem is that the scroll function has something wrong. These warnings and errors appear:

“jQuery.Deferred exception: windowObj.scrollBottom is not a function @https://www.eggtronic.com/en/:534:36
l@https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:29373
a/</c<@https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:29677
undefined
jquery.min.js:2:30920”

“TypeError: windowObj.scrollBottom is not a function”

It doesn’t create problems until in goes in conflict with another script in certain pages.
We’ll try to find another solution.
Thanks anyway!

Eggtronic

Hi There,

Let us know if you find any solution.
Thanks for understanding!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.