Jump to content

[Share] Change Form Block lightbox button to custom image

Recommended Posts

To change form block lightbox button to a custom image, you can follow these.

  • If you can't make it work, you can send site url, I will check easier.

#1. First, use below tool to find Form Block ID.

In my example, it is: #block-yui_3_17_2_1_1722911720670_3901

image.png.b25d81a702947d3de412bf521bde0efb.png

#2. Next, use this code to Custom CSS box to replace the button with an image

#block-yui_3_17_2_1_1722911720670_3901 button.lightbox-handle {
    background-image: url(https://cdn.pixabay.com/photo/2018/07/10/21/53/tournament-3529744_1280.jpg) !important;
    color: transparent !important;
    font-size: 0 !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center;
    padding: 100px 200px !important;
    border-radius: 0 !important;
}

image.png.4012e40d8acf074280bbaa37db581457.png

#3. Result

image.png.c9c3a591b58d5ca9c07bde10f342a818.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
  • Replies 0
  • Views 710
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Posted Images

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.