Jump to content

Lighbox button

Recommended Posts

  • Replies 8
  • Views 776
  • Created
  • Last Reply

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

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment

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.

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
  • 6 months later...
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

Link to comment

@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

Link to comment

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.

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
  • 2 weeks later...
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 

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.