Hi wiwo,
I have helped you customize the code and the site working fine.
To resolve this issue, you need to add the "scroll-link" class to the anchor menu
Example in your article:
<ul>
<li><a href="#aanmelden" class="scroll-link">Wat moet ik doen om toegang te krijgen tot die extra informatie?</a></li>
</ul>
And the anchor section will need to use the id instead name:
<a id="aanmelden">Wat moet ik doen om toegang te krijgen tot die extra informatie?</a>
Also, I have added the following js to your site:
<script>
jQuery(document).ready(function ($) {
$(".scroll-link").on("click", function(e) {
e.preventDefault();
var target = $(this).attr("href");
if ($(target).length) {
var spaceOffset = 70; // Adjust this value to set the desired space
var targetOffset = $(target).offset().top - spaceOffset;
$('html, body').animate({
scrollTop: targetOffset
}, 500); // Adjust the duration as needed
}
});
});
</script>