Jump to content

Show image on return to top button

Recommended Posts

  • Replies 2
  • Views 233
  • Created
  • Last Reply
18 hours ago, Guitarrocks said:

Site URL: https://www.ikhayaspa.com/

Hello

I'm looking to add an image onto the back-to-top button in place of text.  Any help would be appreciate

Add to Design > Custom CSS

/* back to top */
a#back-to-top {
    background-image: url(https://cdn.pixabay.com/photo/2018/08/24/18/28/background-3628553__340.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    color: transparent;
}

image.thumb.png.1adbb531339b585cab3fe1ac8a5cc9b2.png

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
On 6/4/2021 at 7:57 AM, tuanphan said:

Add to Design > Custom CSS


/* back to top */
a#back-to-top {
    background-image: url(https://cdn.pixabay.com/photo/2018/08/24/18/28/background-3628553__340.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    color: transparent;
}

image.thumb.png.1adbb531339b585cab3fe1ac8a5cc9b2.png

Thanks!  Works great!  

Link to comment

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.