Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 1
mdufner

Lighbox button

Question

Hi community,

how can i change the size of the CTA-Button of the contact form when i am using the lightbox mode?The button is way to small for a cta-button ;-)

Do you have an idea?Best regardsMarkus

Edited by mdufner
Initial Revision

Share this post


Link to post

8 answers to this question

Recommended Posts

  • 0

Add this to Design > Custom CSS and adjust the padding to suit:


span.lightbox-handle.sqs-system-button.sqs-editable-button {
 padding: 2em 2.5em;
}

Let me know how you get on.

-Paul

Squarespace Expert & Professional Developer

Contributors to this forum voluntarily give their time to help you. If we correctly answer your question, please accept the answer by clicking Accept below it (you'll see it when you're logged on). If an answer doesn't help, feel free to ask for more help or wait for other forum users to add their comments and/or answers.

Whenever an accepted answer helps you, please vote it up using the up arrow on the right. This helps other forum users by giving them confidence in an answer.


sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include
I am a Squarespace Expert and Squarespace Circle Leader with a
strong reputation on the Squarespace Forum. I'm trusted by thousands of Squarespace users worldwide, including designers, freelancers, business owners and agencies. My extensions add capabilities to Squarespace websites around the globe. They include the Enquiry Form ExtensionDatepicker Extension and Age Verification ExtensionNeed a custom Squarespace extension? Tell me about the functionality you need. Note that some links in my posts may be affiliate links. Book a Squarespace Expert when you need help.

Share this post


Link to post
  • 0

Please include a working link to the page on your site. If your site isn't live yet, please set a site password and tell us what it is. For more advice, read the forum guidelines


sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include
I am a Squarespace Expert and Squarespace Circle Leader with a
strong reputation on the Squarespace Forum. I'm trusted by thousands of Squarespace users worldwide, including designers, freelancers, business owners and agencies. My extensions add capabilities to Squarespace websites around the globe. They include the Enquiry Form ExtensionDatepicker Extension and Age Verification ExtensionNeed a custom Squarespace extension? Tell me about the functionality you need. Note that some links in my posts may be affiliate links. Book a Squarespace Expert when you need help.

Share this post


Link to post
  • 0
On 8/14/2019 at 5:51 PM, paul2009 said:

Add this to Design > Custom CSS and adjust the padding to suit:



 

span.lightbox-handle.sqs-system-button.sqs-editable-button {
 padding: 2em 2.5em;
}
 

 

Let me know how you get on.

-Paul

Squarespace Expert & Professional Developer

Contributors to this forum voluntarily give their time to help you. If we correctly answer your question, please accept the answer by clicking Accept below it (you'll see it when you're logged on). If an answer doesn't help, feel free to ask for more help or wait for other forum users to add their comments and/or answers.

Whenever an accepted answer helps you, please vote it up using the up arrow on the right. This helps other forum users by giving them confidence in an answer.

@Paul2009

Can you help me.

The code posted here used to also work on my site www.daviddawn.com/events on Foster template. Its suddenly stopped working and as you can see by the live site the lightbox button in thin. I want it to look like a standard size button as per the attached photo.

I want this on the Events Page and The Ratcliffe Process - These are index pages (in case that helps)

Can you help me get this sorted with a new code recommend please? thank you

Hope that makes sense

1459252276_Screenshot2019-10-29at10_25_33.png.5a8f5646921e42180892fd92af8a78a6.png

Share this post


Link to post
  • 0

@paul2009

Can you help me.

The code posted here used to also work on my site www.daviddawn.com/events on Foster template.

Its suddenly stopped working and as you can see by the live site the lightbox button in thin. I want it to look like a standard size button as per the attached photo.

I want this on the Events Page and The Ratcliffe Process - These are index pages (in case that helps)

Can you help me get this sorted with a new code recommend please? thank you

Hope that makes sense Thank you in advance for your time

1459252276_Screenshot2019-10-29at10_25_33.png.5a8f5646921e42180892fd92af8a78a6.png

Share this post


Link to post
  • 0

As I have posted elsewhere on the forum, Squarespace made changes to the underlying template used to render Form Blocks this week (week commencing 24th February 2020). These unannounced changes have improved accessibility but have resulted in changes to the HTML used to generate Squarespace forms. This has affected code on hundreds of websites that use CSS or JavaScript to modify the style or behaviour of the form. You'll need to modify the CSS to match the new structure.


sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include
I am a Squarespace Expert and Squarespace Circle Leader with a
strong reputation on the Squarespace Forum. I'm trusted by thousands of Squarespace users worldwide, including designers, freelancers, business owners and agencies. My extensions add capabilities to Squarespace websites around the globe. They include the Enquiry Form ExtensionDatepicker Extension and Age Verification ExtensionNeed a custom Squarespace extension? Tell me about the functionality you need. Note that some links in my posts may be affiliate links. Book a Squarespace Expert when you need help.

Share this post


Link to post
  • 0
On 2/28/2020 at 10:43 PM, paul2009 said:

As I have posted elsewhere on the forum, Squarespace made changes to the underlying template used to render Form Blocks this week (week commencing 24th February 2020). These unannounced changes have improved accessibility but have resulted in changes to the HTML used to generate Squarespace forms. This has affected code on hundreds of websites that use CSS or JavaScript to modify the style or behaviour of the form. You'll need to modify the CSS to match the new structure.

@paul2009 Thank you for letting me know. I'll look around to see if I can get the new code 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...