Offset top to the scroll

Hi, I currently have an anchor menu that takes me to each of the sections (so far so good) but that menu covers my titles when I click, how can I apply a top offset to the scroll?

Thanks…

Maybe this can help:

scroll-padding-top: 100px

Can you tell me where to test this code?

Bricks > Settings > Custom Sode > CSS:

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
  }

Hope this helps.

2 Likes

It was perfect for me, thank you very much my friend

Glad to be helpful. Best regards.