Jump to content

Lighbox button

Recommended Posts

Posted

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

  • Replies 8
  • Views 976
  • Created
  • Last Reply
Posted

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

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted

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.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

  • 6 months later...
Posted
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

Posted

@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

Posted

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.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

  • 2 weeks later...
Posted
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 

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.