Jump to content

JotForm Lightbox in 7.1

Recommended Posts

Posting a solution to an issue I had...hopefully it saves someone an entire day of searching online for an answer.

JotForm's embedded lightbox works in 7.1 but the button is ugly...and won't match your site styles.

To make it match, replace btn in the last part of the embedded JotForm Code Block
      <a class="btn lightbox- 123456789012345 " >
        Button Name
      </a>
with sqs-block-button-element--medium sqs-block-button-element

It should look like this:

      <a class="sqs-block-button-element--medium sqs-block-button-element lightbox-123456789012345" >
        Button Name
      </a>

And to center the button, put <center> on Line 1 of the code block and  </center> on the last line.

Link to comment
  • Replies 1
  • Views 394
  • Created
  • Last Reply
14 hours ago, GlenwoodMedia said:

Posting a solution to an issue I had...hopefully it saves someone an entire day of searching online for an answer.

JotForm's embedded lightbox works in 7.1 but the button is ugly...and won't match your site styles.

To make it match, replace btn in the last part of the embedded JotForm Code Block
      <a class="btn lightbox- 123456789012345 " >
        Button Name
      </a>
with sqs-block-button-element--medium sqs-block-button-element

It should look like this:

      <a class="sqs-block-button-element--medium sqs-block-button-element lightbox-123456789012345" >
        Button Name
      </a>

And to center the button, put <center> on Line 1 of the code block and  </center> on the last line.

That would be helpful

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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

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.