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
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)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 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

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.