Hi-
I’ve been trying to disable the lightbox feature that’s built into KLEO based on suggestions from other threads, but nothing has worked so far. I don’t have rtMedia installed. I have tried commenting out ` /* Regular popup images */
$(“a[data-rel^=’prettyPhoto’], a[rel^=’prettyPhoto’], .article-content a[href$=jpg]:has(img), .article-content a[href$=JPG]:has(img), .article-content a[href$=jpeg]:has(img), .article-content a[href$=JPEG]:has(img), .article-content a[href$=gif]:has(img), .article-content a[href$=bmp]:has(img), .article-content a[href$=png]:has(img)”).magnificPopup({
type: ‘image’,
mainClass: ‘mfp-img-pop’,
gallery:{
enabled: true
}
});
/* WordPress Gallery */
$(“.gallery a[href$=jpg], .gallery a[href$=JPG], .gallery a[href$=jpeg], .gallery a[href$=JPEG], .gallery a[href$=png], .gallery a[href$=gif], .gallery a[href$=bmp] :has(img)”).parent().magnificPopup({
delegate: ‘a’,
type: ‘image’,
mainClass: ‘mfp-gallery-pop’,
navigateByImgClick: true,
gallery: {
enabled: true,
navigateByImgClick: true,
preload: [0,1]
}
});` in the KLEO app.js file. I have deleted all prettyphoto files. Could you please let me know what else I can do to remove the lightbox? Right now it’s causing duplicates with the photo gallery plugin I have installed. Thank you.