-
AuthorPosts
-
November 14, 2013 at 1:47 pm #188343
Hi Enfold developers,
Are there ways to disable the lightbox? I have tried the methods that I found on the forum, but all doesn’t work.
I want to remove all the lightbox effect of the themes. Thanks!
Regards,
BeckyNovember 15, 2013 at 4:03 pm #189244Hey beckyleeik!
You can just remove this line in your js>avia.js file:
//activates the prettyphoto lightbox $(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});
Regards,
DevinNovember 18, 2013 at 4:50 am #189964This reply has been marked as private.November 18, 2013 at 6:32 pm #190228Yes, that is the location. You can go the somewhat more brute force method and just delete the prettyPhoto script function further down in the file (function avia_hover_effect ) but the above should work.
Can you provide a link to the site so we can inspect it live?
November 26, 2013 at 5:20 am #193270This reply has been marked as private.November 26, 2013 at 5:32 am #193272Hi Devin,
May I ask where is the function avia_hover_effect file?
Thanks!
November 26, 2013 at 9:51 am #193309Hey!
Please do Devin’s instruction. Edit js > avia.js, find this code:
//activates the prettyphoto lightbox $(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});
Replace it with:
//activates the prettyphoto lightbox //$(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});
This should disable the lightbox entirely. Make sure to remove browser cache then reload the page or check the site on another browser. You can find the avia_hover_effect on the same file.
Cheers!
IsmaelMarch 14, 2014 at 4:18 pm #237705Ismael, thank you.
It’s working.
How to add this code to child theme?March 15, 2014 at 6:40 am #237952Refer to Ismael response:
https://kriesi.at/support/topic/use-avia-js-in-child-theme/#post-230498Regards,
JosueSeptember 5, 2014 at 6:42 pm #314156Will this disable the lightbox in woocommerce products?
September 5, 2014 at 8:55 pm #314194Hi!
Now you can disable the lightbox script right from the theme options.
Cheers!
JosueSeptember 7, 2014 at 11:54 am #314707Hi where in the theme options?
September 7, 2014 at 4:51 pm #314737Hi!
Enfold > Theme Options > Lightbox Modal Window
Regards,
JosueOctober 7, 2015 at 10:00 pm #515465Am I possibly doing something wrong here? I turned off the function that Josume referred to, and yet my photos are still clickable. I force cleared my cache, and yet the photos are still showing up in the lightbox.
October 7, 2015 at 10:47 pm #515485Hi,
Can you post the link to your website please?
Regards,
JosueOctober 8, 2015 at 3:29 pm #515872http://wp.scottandchristie.com:90/
- This reply was modified 9 years, 1 month ago by jpdietz.
October 9, 2015 at 5:05 am #516135Are you referring to this images?
-
AuthorPosts
- The topic ‘Diable the Enfold Lightbox (urgent)’ is closed to new replies.