New Front EN › Support Forums › Kanso Theme Support › disable theme lightbox
Tagged: lightbox
- This topic has 4 replies, 2 voices, and was last updated 7 years, 10 months ago by
samueljamesmccall.
-
AuthorPosts
-
July 24, 2015 at 2:22 pm #6858
samueljamesmccall
MemberHello,
I am having an issue with the theme lightbox, which doesn’t disable when i use fooboxfree, meaning that i end up having one on top of the other. how can i fix this?
Also, is there a search functionality to this forum that i cannot see?
Thanks,
Samuel
July 24, 2015 at 3:00 pm #6859satori
KeymasterHey Samuel,
you can disable the built-in lightbox by commenting out one line of code in the “functions.php” file; to do this, please visit the theme editor (Appearance -> Editor admin menu), click on the respective file in the right side of the screen, locate this line (should be 354 if you want to use a third-party editor instead):
include_once( get_template_directory(). '/includes/easy-fancybox/easy-fancybox.php' );
and change it to:
// include_once( get_template_directory(). '/includes/easy-fancybox/easy-fancybox.php' );
To answer your second question: there was a search functionality on the forums previously, yet we disabled it due to incompatibility with the latest version of the forum software; we are planning to get it back in the foreseeable future.
Sincerely,
Andrii / Satori StudioJuly 24, 2015 at 3:12 pm #6860samueljamesmccall
Memberthis worked, thanks Andrii
July 24, 2015 at 3:28 pm #6861samueljamesmccall
Memberah, i typed too soon! now instead of opening with any lightbox at all it opens the image as a webpage…
July 24, 2015 at 3:29 pm #6862samueljamesmccall
Memberah no… (this is embarrassing…) turns out chrome was just being silly… ctrl-r refresh and now it works
thanks again!
-
AuthorPosts
- You must be logged in to reply to this topic.