Fixed Header Covers Content at Anchor Point

Hello. I have two CTA buttons in my header. I have them so that they both scroll to the place on my main page that I want. However, the header covers the title of the widgit I jump too for both my CTA buttons. Is there a way to add a buffer so that the CTA buttons scroll to where my content is but the header does not cover the start of my content?

Hello NYarmoloy,

Please check this topic:

Just use your ID instead of #primary. If you have several anchor IDs, then you can separate them with commas. Also you might want to adjust the value in pixels in order to get the right offset. So you should get something like this:

#id2 {
    padding-top: 185px;
    margin-top: -185px;

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.