Jump to content

Recommended Posts

  • Replies 11
  • Views 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

With the Lightbox Plugin, since I am making my pages Lightboxes, am I able to:

1. Use it multiple times so that each of my pages are lightboxes? Or is it for only one item?

2. On the homepage, make it so that when you click on my black and white coded images under the where section, it opens the page in lightbox form instead?

This is the code I am using for those images:

<div class="image-swap">
 <a href="https://www.ministryofdetail.ca/private-social-basketball"> <img src="https://static1.squarespace.com/static/63d01395bbc74427afd24744/t/6447e41fe8568f3cb7227bee/1682433058037/basketball+1+-+gallery.JPG"></a>
  <img src="https://static1.squarespace.com/static/63d01395bbc74427afd24744/t/6447e464d9a029005e0c9820/1682433126290/basketball+1.JPG">
</div> 

Link to comment
18 hours ago, Alexander15 said:

Hi,

Correct, I would like to click on the coded images which are black and white and change to colour on hover > open a lightbox with the pages I have assigned to each.

Link is: https://www.ministryofdetail.ca/

The section I am added them to is under "Where", on the homepage

You mean these images? Click on it will open a lightbox on current page

image.thumb.png.a08fd73c87cdc0dbea857539b701e212.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 6/14/2023 at 3:17 AM, Alexander15 said:

Correct, click on each image and their corresponding page opens in a lightbox

I did a quick example with Gallery Section Grid + Lightbox plugin (images 1, 2, 3, 4)

https://tuanphan.squarespace.com/lightbox?noredirect

pass: abc

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 6/15/2023 at 9:20 PM, Alexander15 said:

Thank you for providing an example.

The section I want to add the lightboxes to, that isn't a Gallery section grid, those are all code blocks. I was looking to add the lightbox to those code blocks with the images. 

Can you provide Code Block? We can test it with lightbox easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (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.