Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24999

    Hi,

    I am developing my site based on your theme.

    I am using ‘Justified Image Grid; plugin to create galleries and this uses its own prettyphoto customized version.

    Now when I click on the image, it opens in the default prettyphoto, however if I click on a tag and then click on an image then it opens in the customized prettyphoto of Justified Image Grid.

    Can you please tell me how can I disable the default lightbox which comes with the theme on certain pages so whenever there is a Justified gallery grid it used its prettyphoto?

    http://sagtco.com/links-gallery/

    #125426

    Hi!

    Open up enfold/js/avia.js and replace:

    if($.fn.avia_activate_lightbox)
    $('body').avia_activate_lightbox();

    with

    if($.fn.avia_activate_lightbox)
    $('body').not('.justified-image-grid').avia_activate_lightbox();

    Best regards,

    Peter

    #125427

    Dude, not working. Still default light box is opening.

    what should be done to make it work?

    #125428

    Hey!

    The justified image grid uses the prettyphoto script for the lightbox too – thus you won’t notice a difference imo.

    Regards,

    Peter

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Disable Lightbox on spefic pages so other light box can work’ is closed to new replies.