- This topic has 2 replies, 2 voices, and was last updated 8 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Change the Lightbox Effect to FadeIn
Hello, I like to change the effect of the image gallery to FadeIn:
Example:
[https://theloft.at/2015/the-loft/]
When you klick on the “gallery loft” image, i want that the next image will fade in, not swipe from right to left. Where can i change the code to archive that?
Hi, You can do the following:
1) Open “wp_lightbox_fancybox_includes.php” file
2) Search for this piece of code:
$("a[rel=$wp_lightbox_fancybox_image_rel]").fancybox({
padding : 10,
});
3) Replace with the following:
$("a[rel=$wp_lightbox_fancybox_image_rel]").fancybox({
padding : 10,
nextEffect : 'fade',
prevEffect: 'fade'
});
I already made the change and sent you a copy via email. Let me know if you don’t receive it.
Perfect!
Great support, thanks a lot!