Jump to content

Looking to change the form block Lightbox button with a custom button image.\

Recommended Posts

  • Replies 5
  • Views 910
  • Created
  • Last Reply

Top Posters In This Topic

13 hours ago, DustyBottoms said:

Site URL: https://jdmlabs.io

Hello community,


What would be the best approach to change the Form Block button when Lightbox is enabled. I have a custom graphic image that I need to replace it with?


Just looking to swap out the initial button that appears when Lightbox is enabled. 


You mean that you want to set the background image for button 'Submit' to replace the default background color, don't you?


Edited by bangank36

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!


Link to comment



I was able to accomplish this task using the script below, but how am I able to disable the hover, so the button stays the same, or display a drop shadow effect when hovered. 



button.lightbox-handle.sqs-system-button.sqs-editable-button {
  background: transparent !important;
  background-image: url('https://static1.squarespace.com/static/613834447ae8697975d8c315/t/616ef7ec9e4a0d5122300cdb/1634662380095/button_bottom-.png') !important;
  background-position: center !important;
  background-size: auto 150px !important;
  background-repeat: no-repeat !important;
   padding: 45px 220px !important;


Link to comment
On 10/21/2021 at 10:27 AM, DustyBottoms said:

Any help would be appreciated 

You mean Get started buttons? Don't remove any code in your current code. Add this CSS

button.lightbox-handle.sqs-system-button.sqs-editable-button:before {
    display: none !important;

button.lightbox-handle.sqs-system-button.sqs-editable-button {
    color: white !important;
    opacity: 1 !important;


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

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.