Site logo

Archived topic

Html Anchor jumps too low

1 reply · Started by Rostyslav on April 23, 2021

Viewing posts 1–2 of 2

Hello,

I am using HTML anchor to my contact form but it jumps too low. How can
I jump a 40px upper?

Thank you!

Hi there,

the issue is because of the sticky top bar. The GP Smooth Scroll calculates the height of the Sticky Navigation and offsets that for the smooth scroll - what it cannot account for is the height of the sticky top bar.

You would have to either add some additional padding to the container your linking to.
Or add a Block before that container and use that as your HTML Anchor.

This archived topic is closed to new replies.