Hi,
how can I disable only on one certain page the lightbox overlay, but not the lightbox function at all for images, that I have included in my page?
Thanks.
In enfold/js/avia.js replace
if($.fn.avia_activate_lightbox)
$(container).avia_activate_lightbox();
with
if($.fn.avia_activate_lightbox){
if( !$('body').hasClass('page-id-1437') ) $(container).avia_activate_lightbox();
}
and instead of 1437 insert the id of the page where you want to deactivate the lightbox effect.
thanks, but this is the opposite of what I would like to have:
– no overlay functionality at this page-id
– but still the lightbox function itself, means, when clicking on an image, it should open in the lightbox as usual
Just no overlay function:
Thanks.
Hey!
Ok, then revert the change and replace
avia_hover_effect(container);
with
if( !$('body').hasClass('page-id-1437') ) avia_hover_effect(container);
Best regards,
Peter