Hi,
I created a page with a gallery on it, however when it loads there is white image overlay that will disappear when I scroll down.
How can I disable this for galleries?
thanks,
MJ
more specifically how do I remove avia_animate_when_visible only on galleries
Open up enfold/js/shortcode.js and search for this code around line 205:
//trigger displaying of thumbnails
gallery.on('avia_start_animation', function()
{
images.each(function(i)
{
var image = $(this);
setTimeout(function(){ image.addClass('avia_start_animation') }, (i * 110));
});
});
change it to:
//trigger displaying of thumbnails
gallery.on('avia_start_animation', function()
{
images.each(function(i)
{
var image = $(this);
setTimeout(function(){ image.addClass('avia_start_animation') }, (i * 110));
});
}).trigger('avia_start_animation');
and the gallery thumbs should load immediately.