Scroll to section position

Hi Team,

When i implement the Scroll to section via lID, the position is off because of my header menu.

On this page: https://dokonline.nl/seo/seo-strategie/ I used the url #stap1 to navigate to the next section. However, it scrolls 100px to far. The title of the section disapears under my menu. Is there a way to solve this?

Update: @RueNel. I can not give a new responce anymore. So I let you know this way. The JS code you gave me works flawlesly. Amazing. Thank you for the great support!

Hi there,

That is correct, unfortunately, The Pro theme does not support the Scroll to Section functionality completely and exactly the header section is not there in the Javascript calculations due to complicated nature of the header builder.

Our development team is aware of this and this will be fixed alongside a code factor in upcoming releases. At the moment the only workaround we can give is this:

It is not an official code so it might not work in your case. If that is the case you will need to wait for an official release.

Thank you for your understanding and patience

1 Like

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