Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18315

    Hi,

    As in the title. I have seen many threads about Lightboxes but I have not found an answer. It seems that the Fancybox for WP 3.0.2 works fine after activation. I just need to deactivate the original lightbox. I don’t have js/custom.js file about you often write.

    Link: http://www.pawelsuder.pl/portfolio/zdjecia-wnetrz-nowoczesnych-2012/

    Thanks.

    #99007

    Hi suderDesign,

    Kindly open wp-content/themes/brightbox/js/avia.js and find this line of code:

    jQuery(document).ready(function(){

    Below it you should see this code block:

    //activates the prettyphoto lightbox
    if(jQuery.fn.avia_activate_lightbox)
    jQuery('body').avia_activate_lightbox();

    Replace it with:

    //activates the prettyphoto lightbox
    //if(jQuery.fn.avia_activate_lightbox)
    //jQuery('body').avia_activate_lightbox();

    Hope this helps. :)

    Regards,

    Ismael

    #99008

    Absolutely and elegant way ;)

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘how to disable the default Lightbox?’ is closed to new replies.