Hi,
I have a site with a full-screen header of the homepage and a down arrow at the centre bottom of the screen (absolute positioned) for visitors to click to scroll to the main navigation (#site-navigation). This is the CSS for the down arrow:
.down-arrow {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 5%;
}
The down arrow is placed using a Block Element hooked to before_navigation.
When smooth-scroll is disabled, the link works well, jumping to completely hide the full-screen header and displaying the main navigation at the top of the screen.
However, when smooth-scroll is enabled, the link smoothly only scrolls to 60px above the main navigation (which happens to be the height of the down arrow) and so continues to show part of the header.
Am I doing something wrong here?
Thanks in advance for your support!