Jump to content

Add 'Back to top' button for mobile site only.

Recommended Posts

Site URL: http://www.timjobling.co.uk/

Hi,

I've been using the forum for a while and it's been incredibly helpful whilst building my site.

I was wondering if it was possible to add a 'Back to top' button that targets my mobile site only. I created one using a code block in the footer and adding the code <a href="#" class="scrollup">Back to top</a> which works perfectly, however it's not necessary to have it on my desktop site and I don't particularly like how it looks (I have removed it for the time being).  

Is there a way of using a similar code the only shows on the mobile site, or is this something that can't be done.

Any help help would be much appreciated. 

Thanks in advance,

Tim.

Site URL: www.timjobling.co.uk

Link to comment
  • Replies 2
  • Views 770
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.


×
×
  • 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.