Jump to content

Adding a button to a lightbox

Recommended Posts

2 hours ago, Mic1234 said:

Site URL: https://joel-amit.com/works

Hi
I have a portfolio website in which one of the pages has all my works in a gallery (masonry) type, it already has a lightbox pop up when images are clicked. Is there a way of adding a button to the lightbox view only so when pressed it can show a form (inquiry about the specific work/image)?
Thanks

You mean to open a lightbox form when you are in lightbox gallery?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • 1 year later...
On 12/23/2021 at 9:06 AM, Mic1234 said:

Site URL: https://joel-amit.com/works

Hi
I have a portfolio website in which one of the pages has all my works in a gallery (masonry) type, it already has a lightbox pop up when images are clicked. Is there a way of adding a button to the lightbox view only so when pressed it can show a form (inquiry about the specific work/image)?
Thanks

I am curious about this as well. Adding a button below a lightbox image. 

I've added some custom CSS to mine with .sqs-lightbox-padder img as the CSS selector. Not sure I can use JavaScript to append an element with that kind of selector

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.