Jump to content

Floating CALL NOW BUTTON on Home Screen

Recommended Posts

  • Replies 8
  • Views 2.1k
  • Created
  • Last Reply
  • 2 weeks later...
On 2/23/2021 at 3:12 AM, Davidm1992 said:

@tuanphan 

I have just added an image block in my footer with the image. See image attached.

What's next? 

Thanks so much. 

Crop 1.PNG

Add to Design > Custom CSS

/* Floating image */
div#block-yui_3_17_2_1_1614024261707_7922 {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 150px;
}

 

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 3/2/2021 at 3:31 AM, Davidm1992 said:

@tuanphan thank you!! Works perfectly. 

However, it appears off on the mobile version. 

Is there a way to put the image in the site header to the left of the drop down menu??

Thanks again for your help. 

Capture 2.PNG

"However, it appears off on the mobile version. "

Can you explain clearly?

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

@tuanphan please see attached image. 

The call-now button looks out of place as it is overlapping text. 

It is possible to move the button to the header? So it is positioned to the left side of the drop-down menu on the right (two lines?

Alternatively, is there a way to add the button as a fixed button underneath the header. So when I scroll down, the header would stay fixed (as it is now) and then the button would also be in a fixed position underneath the header. This would mean it would not be overlapping any text/images throughout the website. See what I mean in attachment two.

My website is www.mitzmarketing.ie

This would be so amazing if either of these are possible. 

Thank you so much for your help once again. 

 

Capture 3.PNG

Button Here.png

Link to comment
  • 2 weeks later...
On 3/19/2021 at 1:28 AM, Davidm1992 said:

@tuanphan - Did you get a chance to see my previous reply?

Thanks again.

David. 

Add this code

/* float img on mobile */
@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1614024261707_7922 {
    bottom: unset;
    top: 50px;
    right: 0px;
}
div#block-yui_3_17_2_1_1614024261707_7922 figure {
    margin-right: 0;
}
}

 

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

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.