Jump to content

Request a callback form

Recommended Posts

Posted

Hi ,

I'm looking for help

Does anyone know how to do this: callback form

I don't want to set an advertising popup, instead I want a popup with a callback form

so that the user can enter their phone number and by clicking the "submit" button, I will receive an email with the user's number so that I can call the user later.

Thanks,

Brad

  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

(1) First, edit Footer > Add a Form Block with these fields

image.thumb.png.d8666e48d5197dce5f0f192b2bf29aad.png

image.thumb.png.c4fe1a35689099be515e2d9f78de0109.png

(2) Next, install this free tool to find ID of section contains Form Block

https://chromewebstore.google.com/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff

In my example, we will have

image.thumb.png.cd066a47fca3fed58c3d1cd290ad4d40.png

(3) Use this code to Website > Website Tools > Custom CSS

[data-section-id="662a24a5175189777bfb3fba"] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-width: 400px;
    z-index: 9999999;
    background-color: #f1f2f3;
    border: 2px solid green;
    border-radius: 10px;
    padding: 10px !important;
}
[data-section-id="662a24a5175189777bfb3fba"] {
    z-index: 99999999 !important;
}

(4) result

image.png.b4cf73786ca1d7ae0891c43f1aefaef2.png

(5) Note: This form will appears when you reload the page. If you need to show one time or add X close icon, let me know, I will give extra code.

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

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.