ronitizraeli Posted June 1, 2023 Posted June 1, 2023 Hi, How do I add a sticky image (png) to the top-right corner, to be fixed while scrolling? something like a floating arrow back to top, not as a button, but my own png symbol Thanks!
tuanphan Posted June 3, 2023 Posted June 3, 2023 You can add an Image Block to Footer, then share site url, we can give code to achieve this Or add this code into Settings > Advanced > Code Injection > Footer <a href="#top"><img src="https://cdn.pixabay.com/photo/2023/05/15/08/52/flower-7994491_1280.jpg" class="img-test"/></a> <style> .img-test { width: 50px; } a[href="#top"] { position: fixed; top: 50%; right: 0; z-index: 9999; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment