is there any way to use it? i still the image carousel element...
Hi.
Lightbox on hover is wrong task.
Popup on click - this is the right task.
Create custom.js file in /templates/helixultimate/js/ folder and add this code there
jQuery(function ($) {
$('.addon-root-image-carousel img').each(function () {
var imgSrc = $(this).attr('src');
$(this).wrap('<a class="popup-link" href="' + imgSrc + '"></a>');
});
$('.addon-root-image-carousel').magnificPopup({
delegate: 'a',
type: 'image',
gallery: {
enabled: true
}
});
});
Create custom.css file in /templates/helixultimate/css/ folder and add this code there
.sppb-carousel-extended-content-wrap {
pointer-events: none;
}
When you will click on image item it will look like this
