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
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
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();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
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.
Hello,
You can go to js > prettyPhoto > js > jquery.prettyPhoto.js. Delete everything on it then save.
Regards,
Ismael
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.
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
You must log in to post.