jQuery onClick/onScroll offset is not accurate

On this page, if you click on the dot navigation, the landing target seems to be ‘off’. Can anyone tell me if the offset is not set correctly or what would be the cause?

Thank you.

It seems to account for the #main-header element, which is set to display: none, hence the gap; if you show the header it looks correct. As for the JS, I assume it’s included in your WP theme and not your own work? In this case it will be pretty hard (if even allowed) to adjust w/o breaking or getting broken by future updates…

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.