Disabling/removing the scroll-to-top button

Dear support,

I would like to completely remove the scroll-to-top button, but unfortunately I wasn’t able to locate the code in the sparkling theme. My aim is not to just make the scroll-to-top button invisible, for example by setting “display: none;”. I would like to delete this functionality completely. Could you give me a hint where to look in the themes’ files?

Kind regards from Cologne and thank you for keeing up the support!
Mr. Earl “Gray” Darjeeling

Hi Mr. Earl,

I hope you are well today and thank you for your question.

You can disable it by removing the following code on line number 34 in the footer.php file of Sparkling child theme.

<div class="scroll-to-top"><i class="fa fa-angle-up"></i></div><!-- .scroll-to-top →

Best Regards,
Movin

Dear Movin,

thanks a lot, the footer.php is the file I did not search in, my mistake :slight_smile: Thank you!

Kind regards,
Darjeeling

You are always welcome here :slight_smile: