Tagged: enfold
This is my second attempt to get help:
On March 24th I opened the following topic: https://kriesi.at/support/topic/images-in-masonry-view/#post-1082220
I was told to open a new topic. So here we go:
Dear ladies and gentlemen. On tablets and smartphones, images are suddenly no longer displayed correctly in Masonry View. Partly several pictures are displayed on top of each other, partly one picture is displayed several times, partly distorted. This always happens when the page is scrolled.
The phenomenon occurs sometimes fast, sometimes slower (e.g. when you scroll and navigate a bit). Tested with various pads and smartphones. IOS and Android. That makes no difference.
What I tried already (unsuccessfully):
ALL plugins deactivated.
Enfold cache disabled.
Searched and tried solutions in the forum.
changed php Version from 7.2 to 7.1
Looking foward for your support.
Best regards, Bernd
Hey Bernd,
Thank you for opening another ticket.
We can’t reproduce the issue on our end, but we did encounter a few inquiries with the same problem. We usually recommend the following script to force the element to automatically adjust the items’ position while the page is loading. Insert it in the functions.php file.
add_action('wp_footer', 'ava_auto_resize');
function ava_auto_resize(){
?>
<script>
(function($){
var int = window.setInterval(function(){
console.log('tick');
$(window).trigger('resize');
$(window).trigger('av-content-el-height-changed');
}, 1000);
$(window).on('load', function() {
clearInterval(int);
});
})(jQuery);
</script>
<?php
}
Related thread:
// https://kriesi.at/support/topic/category-filter-on-blog-posts-not-appearing/#post-984441
Best regards,
Ismael
Hi sqzi,
There’s a big blue button on top of each sub forum, or you can open a new thread here.
Best regards,
Rikard