This topic has 0 replies, 1 voice, and was last updated 9 years by rhiza_intranet.

  • Author
  • #71019
     rhiza_intranet
    Participant

    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.

Viewing 1 post (of 1 total)

The topic ‘Disable KLEO theme lightbox’ is closed to new replies.

Log in with your credentials

Forgot your details?