Site logo

Archived topic

Keep Back-to-top button only on desktop

3 replies · Started by Gianluca on December 15, 2021

Viewing posts 1–4 of 4

Hi Gian,

Both would work.

CSS solution is to hide the icon.

PHP solution is to remove the icon and its function.

I would recommend using PHP solution if you have code snippet plugin installed or you are using a child theme :)

Adding PHP: https://docs.generatepress.com/article/adding-php/

Hi Ying,

Excellent, thank you for your help!

No problem :)

This archived topic is closed to new replies.