Jump to content

How to Make Any IMAGE scroll Back To Top of your Website

Recommended Posts

Site URL: https://kismetphotographybyloryn.squarespace.com

 

Hello,

I was wondering how I can use any image on a website to create a 'back to top' effect. I don't want the image to be fixed on the page. I just want to be able to click on the image and have it scroll to the top of the page.

Here is my example.

https://kismetphotographybyloryn.squarespace.com

password: kismet

 

I have a To Top image on my footer, and I want to make it scroll to the top of my website. How do I do that? I found a ton of 'floating back to top button' tutorials, and I know how to do that, I want this particular image to stay on the bottom of my footer and NOT be fixed/sticky.

Thanks so much in advanced! 🙂

 

Link to comment
  • Replies 1
  • Views 453
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 10/27/2021 at 8:07 AM, Nondys said:

Site URL: https://kismetphotographybyloryn.squarespace.com

 

Hello,

I was wondering how I can use any image on a website to create a 'back to top' effect. I don't want the image to be fixed on the page. I just want to be able to click on the image and have it scroll to the top of the page.

Here is my example.

https://kismetphotographybyloryn.squarespace.com

password: kismet

 

I have a To Top image on my footer, and I want to make it scroll to the top of my website. How do I do that? I found a ton of 'floating back to top button' tutorials, and I know how to do that, I want this particular image to stay on the bottom of my footer and NOT be fixed/sticky.

Thanks so much in advanced! 🙂

 

Add image >> Then add this link into image

Quote

#top

 

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!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.