hey there, check out the page below – when you go to the bottom and keep clicking Load More, the masonry load is overlapping images and covering up the Load More bar many times, requiring the page to be manually reloaded, and the problem still persists. What is happening? Theme is up to date, as is WordPress. Thanks for your help on this.
Note: there is also a very disconcerting white “flashing” effect as the page loads – which has not been there before. any ideas?
Hey!
Thank you for using Enfold.
Please enable the load more button again then add this in the functions.php file:
// new script
add_action('wp_footer', 'ava_new_custom_script_masonry');
function ava_new_custom_script_masonry(){
?>
<script type="text/javascript">
(function($) {
function a() {
$(window).trigger('resize');
}
a();
$(window).on('debouncedresize av-height-change', function() {
setTimeout( a(), 300 );
});
})(jQuery);
</script>
<?php
}
OR decrease the number of items in the page then optimize the images: http://kriesi.at/archives/4-key-wordpress-image-optimization-tips
Cheers!
Ismael
hey ismael – just an FYI, that script broke the site and i had to load a fresh functions.php file up.
but you’re right – decreasing the number of images loaded per load helps! thank you!