Jump to content

need to move position of a custom made floating WhatsApp link button a little bit to the right on the mobile version

Go to solution Solved by tuanphan,

Recommended Posts

Posted (edited)

Hi guys as the title says I'm looking to move the floating button link that I custom made over to the right a bit on the mobile version

www.goosebumps.marketing

I wrote this in the footer section of the code injection

 

<!-- Floating button style -->
<style>
.floating{
    position:fixed;
    width:120px;
    height:120px;
    bottom:40px;
    right:30px;
    z-index:100;
}
.float-button{
    margin-top:16px;
}
</style>

<!-- Link to WhatsApp -->
<a href="https://api.whatsapp.com/send?phone=%2B44333 335 6080&text=Hello%2C%20from%20GOOSEbumps%20website%20visitor:" class="floating" target="_blank">
<!-- WhatsApp image -->  
<img src="https://static1.squarespace.com/static/62b48f8d9ab01b0e774f4bdb/t/65ba4cd4be6c48238e6e1395/1706708180184/vecteezy_whatsapp-business-social-media-icon-3d-illustration_18749260.png">
</a>

 

thanks very much if you can help

Edited by goosbumps
forgot url
  • Replies 2
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.