Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #12087

    Hello all,

    I’ve had a browse through past threads and haven’t managed to find a solution.

    Basically I want to remove the Lightbox feature entirely. I presume this is possible?

    If so, how on earth do I get rid of it?!

    Thanks in advance,

    Sam

    #74202

    In js/avia.js delete following code:

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

    //activates the hover effect for image links
    if(jQuery.fn.avia_activate_hover_effect)
    jQuery('body').avia_activate_hover_effect();

    #74203

    Thank you for getting back to me, but I’ve tried that and it doesn’t seem to work. Which is ridiculously strange!

    Any other ideas??

    If you need to see the site, I can send you a link via private message.

    Thanks,

    Sam

    #74204

    I would like to know how to do this as well. I commented out both instances of that in the code and it still opens the lightbox. It does however disable the hover effect.

    #74205

    Hello,

    You can go to js > prettyPhoto > js > jquery.prettyPhoto.js. Delete everything on it then save.

    Regards,

    Ismael

    #74206

    Hello Ismael, the solution works very well…only, maybe too well! Doing this disable the lightbox function for portfolio items, but it also stops a slideshow on the same page from working.

    Is there a way to disable the lightbox, but keep the slideshow working?

    Love the angular theme. Thanks in advance.

    #74207

    Hi kestrelnetwork,

    That shouldn’t effect the slideshow in anyway as its controlled by another script entirely. Can you provide a link to your site so we can inspect the code live?

    Regards,

    Devin

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

The topic ‘Disable Lightbox’ is closed to new replies.