Anchor link
Hi,
I just launched my first Brizy WordPress site and am running into an issue. I'm using anchor links for most of the site but the link seems to skip over the header in the section. The anchor is in the section and it just seems to skip the header. How do you anchor the link to the header?
Site for reference: https://ravolt.us
Thanks!
-
Hi Gregory,
This is because you have a sticky header and it covers part of the section. When you click on the menu link you are directed to the section with the corresponding id. This section is positioned at the top edge of the window so that the top is covered by the header. As a solution, you can add larger padding to these sections (approximately the equivalent of the header height). In the future, we will improve this so that the height of the header is taken into account when scrolling, but at the moment this is how it works.
0
Please sign in to leave a comment.
Comments
1 comment