How to disable scroll smooth for ancho links?
-
Hello!
I’m working on the website as a developer. And I have found a big problem with anchor links:
When I try to override the default behavior of anchor links (smooth scrolling to the anchor block), I can’t override it. I will explain. After clicking on the anchor link, I need to have scrolling NOT to reach the top of the anchor block, but 100 pixels higher (this is the height of the fixed header block). I also have found, that if I remove frontend-modules.min.js event handler from developer mode (F12 in Google Chrome browser), then my written script starts working correctly.Please, could you help me with this problem?
Best regards,
Slava
- You must be logged in to reply to this topic.