Jump to content

How to add lightbox to carousel images (in auto-sections)

Go to solution Solved by tuanphan,

Recommended Posts

  • 3 weeks later...

I went ahead and purchased the plugin, added the files, injected the plugin code in settings, and injected the code you provided into the page header.

We were wanting to lightbox the carousel of images on the New Homes page. However, there doesn't seem to be a way to link them using the lightbox URL for blocks (form/image/gallery).

I ended up creating a gallery section below (vs carousel list) and I think I've got it working now. The gallery had a place where you could link each image, but the carousel did not.

Would you happen to have any tips for styling the arrows like the previous  carousel?

 

 

 

Screen Shot 2022-01-13 at 5.10.18 PM.png

Screen Shot 2022-01-14 at 4.29.59 PM.png

Edited by Kalie
Link to comment
  • Solution
On 1/14/2022 at 5:57 AM, Kalie said:

I went ahead and purchased the plugin, added the files, injected the plugin code in settings, and injected the code you provided into the page header.

We were wanting to lightbox the carousel of images on the New Homes page. However, there doesn't seem to be a way to link them using the lightbox URL for blocks (form/image/gallery).

I ended up creating a gallery section below (vs carousel list) and I think I've got it working now. The gallery had a place where you could link each image, but the carousel did not.

Would you happen to have any tips for styling the arrows like the previous  carousel?

 

 

 

Screen Shot 2022-01-13 at 5.10.18 PM.png

Screen Shot 2022-01-14 at 4.29.59 PM.png

Add this code to New Homes Page Header

<style>
  .gallery-reel-control-btn::before {
    background-color: #c56968;
    border-radius: 50%;
}
  .gallery-reel-control-btn-icon svg * {
    stroke: white !important;
}
</style>

image.thumb.png.36b5c2cddc7bbac86fb762cdff629d7c.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
  • 4 weeks later...
  • 2 years later...
On 12/22/2021 at 1:13 AM, Kalie said:

Site URL: https://www.llanonewhomes.com/new-homes

Is there a way to add lightbox to carousel images? The floor plans on this website are currently displayed using Squarespace's new auto-sections, but I'm not seeing a lightbox option anywhere.

Thanks in advance!

Check this postyou can enable lightbox to your auto layouts sections with the plugin

I made a demostration based on your content, where the lightbox is opened when the item images are clicked

Captions also available on Lightbox, which include your title and body text

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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.