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?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 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
  • 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.