Hello,
I just published the web montajesdrac.com developed with WordPress adapting a template of site origin.
I have created anchors at the beginning of the paragraphs for the menus to point and scroll to them. Custom menus have the label indicated on each anchor. The problem that I found is that the page does not stop at the point that marks the anchors.
As additional information to tell you that I have activated the smoothing of the page’s scrolling using the jquery smooth scroll plugin.
Would you be so kind as to orient me to find a solution?
Greetings,
Carles Oliver
Hi Carles,
This is happening as a result of the fixed header. Basically, the browser can’t account for it. The browser is scrolling to the correct location but due to not accounting for the fixed menu, it appears to be incorrect as the correct location is behind the fixed header.
To resolve this issue you need to set an offset to account for the menu. I’m not very familiar with the plugin you’re using but it should include this functionality. I would check over its settings to check if it does.
Hi Alex,
Thank you so much for your response. I disable the fixed menu and the anchors works correctly. I’ll try to set jquery plugins in order to use fixed menus and anchors.
Regards.