Jump to content

adding a lightbox to an image

Recommended Posts

Site URL: https://belmontaccommodates.com/testhome

Hi there - not sure if this can be done but here goes. 

I have an image on a test page,  https://belmontaccommodates.com/testhome , which I would like to click on to open a lightbox with a menu. At the moment, I have this working on a SS button, but would like to be able to click on an image to achieve the same result. The lightbox is using jquery and a javascript library  (featherlight) I found online. Any help would be greatly appreciated!



Link to comment

Ive managed to sort some of this out myself.  I just replaced one of the SquareSpace image blocks with some html. The 'accommodation' image now opens a lightbox with a menu, which is just what i wanted. 

just need to sort out how to display the icons better, ie a row of 4, or 2 x 2 - this didn't happen previously




Link to comment

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

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.