Adjusting anchors to allow for a sticky header

I’m designing a site with a sticky header, and submenu items that I am linking to sections using anchors. The anchor is fixed to the top of the section, meaning that the section disappears behind the header. What is the workaround for this?

Wix Studio

What are you trying to achieve:
I want the anchor to be adjusted by 90px so when clicked it is fully in view rather than being hidden behind the header.

What have you already tried:
I’ve searched the forum for this topic and can’t find anything, and have read the instructions on how to use anchors.

Additional information:
[Include any other pertinent details or information that might be helpful for people to know when trying to answer your question.]

1 Like

What I’ve done is to make a container into an anchor, make it 1x1 px, and set it to hidden. I then set it’s top margin to be neggative the height of the header. So if the header is 100 px, the top margin is -100px.

1 Like

Have you tried adding 90px padding to the top of sections ?