carousel/gallery

1 reply · opened Dec 12, 2018

AakrondooDec 12, 2018

Dear,

I think you have a problem with gallery in carousel. In demo template http://themes.semicolonweb.com/html/canvas/demo-app-landing.html in gallery section. When I click on image - left of active image the litebox navigation not work (arrows and cloce button).

The same problem I have on my page http://www.dnevnesobe.si/page.html.

Please watch the video https://youtu.be/iydapr3yMUw

One more question - is it possible slide in gallery on mobile phone with finger not with arrows.

Best regards
Robi

SSemicolon WebSTAFFDec 14, 2018

Hello,

Thank You so much for bringing this to our notice. Unfortunately, the way Owl Carousel works causes this issue. Removing the following code in the js/functions.js File will fix the issue with the Lightbox:

if( element.find('a[data-lightbox="gallery-item"]').parent('.clone').hasClass('clone') ) {
	element.find('a[data-lightbox="gallery-item"]').parent('.clone').find('a[data-lightbox="gallery-item"]').attr('data-lightbox','');
}

if( element.find('a[data-lightbox="gallery-item"]').parents('.cloned').hasClass('cloned') ) {
	element.find('a[data-lightbox="gallery-item"]').parents('.cloned').find('a[data-lightbox="gallery-item"]').attr('data-lightbox','');
}

But this will display Duplicate Images in the Lightbox.

We will release an Update as soon as there is a reliable fix for this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard