2 sliders on one page (4)

Hi! Is the problem with 2 sliders on one page already solved? Can you help me with the solution?

THX, Carel

Hello Carel,

I have investigated the issue and it seems that the data-x-slider-id custom attribute. I will forward this thread to @Charlie, our developer for further inspection.

Please bear with us.

Okay, yes please do because I’m waiting now a long time for a solution to publish 2 sites. It should be fixed in 6.5 but I still can’t have 2 sliders on 1 page with opening the clicked photo in a lightbox.

Please let @charlie inspect and give a solution. You still can find examples in earlier posts of me. Let me know if you need a new example and logins!

THX, Carel

On the cresult site. The attribute data-x-slide-id needs to go on each data-x-slide-goto attribute you have. On your slide container in your modal you’ll then add in the id modal-slider in the customize tab of the element.

In the template “Image Gallery Lightbox” in Themeco templates you can also see this in action.

Let us know if this helps.

1 Like

Hi Charlie, thanks but can you please help me a bit further? On this page I have set up 2 sliders based on a video by Josh. When you click on a photo, it opens in a lightbox. With the top slider, the photo that is clicked on is also opened in the lightbox, with the bottom slider, the first photo in the lightbox is always opened regardless of which photo is clicked on.

https://lapauline.nl/wp/2-sliders/

It must have something to do with an ID but I can’t figure it out.

Thanks in advance, I will also send you a new login for this site.

Carel

Sure thing. Same thing there, you want the data-x-slider-id set on your goto element. And then you want the modal’s slide container to have that ID set. I used modal-1 and modal-2 on the page. Let us know if that helps.

1 Like

GREAT! Thank you so much!

I’ll be back again I have other questions.

Have a nice weekend!

1 Like

Anytime. Have a great weekend as well.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.