-
Hi,
I’ve noticed that the “Back to Top” button on my website is functioning very slowly. When clicked, it takes approximately 2 to 3 minutes to scroll back to the top of the page. This significantly affects the user experience.
Could you please look into this and suggest a solution to improve its responsiveness?
Best regards,
-
Hi there,
Elementor adds CSS to set the site’s scroll behaviour to smooth, which is conflicting with GP’s smooth scroll function.
Try adding this PHP to remove the GP smooth-scroll function from the back-to-top button.
//remove GP smooth scroll from back to top button add_filter( 'generate_back_to_top_js_args', function( $args ) { $args['smooth'] = false; return $args; } );
Adding PHP: https://docs.generatepress.com/article/adding-php/
-
okay thanku
-
No Problem 🙂
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.