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...

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.