Jump to content

adding a lightbox to an image

Recommended Posts

Posted

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!

Thanks

Steve

Posted

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

Thanks

Steve

 

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.