One page smooth scroll with custom links

I have a one page site with custom links. The smooth scroll is working but when it scrolls to the appropriate section id, the heading text for the section is all the way at the top of the page and text is covered over by the sticky menu. It should scroll to the section heading just below the sticky menu and I'm not sure why this has stopped working. If I add top and bottom padding to the section, it does help the links scroll to the correct location but I don't want all that white space.

image

Comments

Sign In or Register to comment.