Anchors scroll up behind sticky header menu
My header menu is set to “sticky” and I have a one-pager site with multiple anchor bookmarks by content section. I have added custom-links to the header menu that jump to those anchor bookmarks. All is working but here is my problem. When I click header menu and it scrolls to that part of the page, the anchor is all the way to the top of the page (instead of stopping at the bottom of the sticky menu) and as such, part of the content section is hidden by the sticky menu.
Is there any way to control the scroll to the anchor so that it stops at the bottom of the sticky menu instead of sliding up under it?