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?
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
Dude, not working. Still default light box is opening.
what should be done to make it work?
Hey!
The justified image grid uses the prettyphoto script for the lightbox too – thus you won’t notice a difference imo.
Regards,
Peter