Hi there,
instead of using the GP Back to top, we could build our own one.
1. Add this PHP Snippet to your site:
add_action('generate_after_footer', function() {
printf(
'<a title="%1$s" aria-label="%1$s" rel="nofollow" href="#respond" class="generate-back-to-top">
%2$s
</a>',
esc_attr__( 'Scroll to comments', 'generatepress' ),
generate_get_svg_icon( 'comments' )
);
});
Note: the href="#respond" you can change that to the jump-link you need.
Then add this CSS:
html {
scroll-behavior: smooth;
}
.generate-back-to-top {
--btt-offset: 600px;
position: sticky;
bottom: 20px;
left: calc( 100vw - 60px );
margin-top: calc(100vh + var(--btt-offset));
padding: 10px;
}
Note this line: --btt-offset: 600px;
The 600px is how far from the top of the page before the button will appear.
Let me know if that works for you