-
AuthorPosts
-
June 22, 2018 at 2:29 pm #976359
I have two different problems regarding the masonry gallery. Maybe someone has some ideas on how to solve those problems.
- If I view the gallery on the bottom of this page in the lightbox I whitness the problem that the lightbox starts to scroll down when moving from image 16 to 17. Moving back and forth from 16 to 17 makes it even worse.
I am pretty sure that this problem didnot exist a few months ago, but started with one of the recent wp/enfold updates.
See: https://drive.google.com/open?id=1Ha67jX0gL5Fw0p5x8ZzUHh7L3RyItcyN - There seems to be a problem with the alignment of photos in the flexible masonry gallery on this page: https://www.gtk-mureck.at/2018/01/20/gtk-sticker-around-the-world/.
See: https://drive.google.com/open?id=1CNNwBhpl3LesRmlzeBX7dDfgedaJ0OTS
Thanks.
- This topic was modified 6 years, 5 months ago by shaevy.
June 23, 2018 at 10:13 am #976865Hey shaevy,
Can you try to disable css/js merging and compression in Enfold > Performance? flush out the cache and try to disable all plugins temporarily then check if the issue still persists.
Let us know if this helps, if not please give us permission to disable plugins temporarily and give us ftp access as well so we can try to debug.Best regards,
NikkoJune 25, 2018 at 3:03 pm #977525Hi,
I was able to resolve the first problem. (it had nothing to do with the mazonry gallery but with a slider element that changed size in accordance to the viewed image size.
I could however not resolve the second problem. I have now deactivated all plugins except for “Members” and “Widget Logic” which I cannot deactivate because this would expose internal documents to the public. ->No change at all.
Best regards,
NikiJune 26, 2018 at 4:06 pm #977990Hi Niki,
Can you please explain a bit more which issue remains? I could not check the screenshot, it’s not public on the Google drive.
Best regards,
VictoriaJune 26, 2018 at 4:09 pm #977991Hi Victoria,
I am sorry, I didnot realize the images weren’t public. Here you go: https://drive.google.com/open?id=1CNNwBhpl3LesRmlzeBX7dDfgedaJ0OTS
Niki
June 26, 2018 at 7:19 pm #978092Hi Niki,
I disabled the JavaScript merging and the errors are gone. Please check if it is working now.
Best regards,
VictoriaJune 26, 2018 at 8:37 pm #978131Hi Victoria,
The problem is still present. You have to have the masonry gallery in your view before the images are loaded for the problem to appear. (Therefore it only appears the first time the page is being loaded due to browser caching.) The alignment problem is however gone after resising the browser window.I am using Google Chrome on Windows 10. The problem does not seem to appear in Edge.
Niki
- This reply was modified 6 years, 5 months ago by shaevy.
July 3, 2018 at 8:53 pm #980752Hi Niki,
I’ll ask my colleague to check on the Windows machine.
Best regards,
VictoriaJuly 4, 2018 at 9:50 pm #981352Hi,
I have taken a look and I find that on first load or hard refresh the images are loading slowly because there are so many of them, after the element has been created, which gets it’s height from the images.
Try adding this code to the end of your functions.php file in Appearance > Editor:add_action('wp_footer', 'ava_auto_resize'); function ava_auto_resize(){ ?> <script> (function($){ var int = window.setInterval(function(){ $(window).trigger('resize'); }, 2000); $(window).load(function () { setTimeout(function() { clearInterval(int); }, 5000); }); })(jQuery); </script> <?php }
Best regards,
MikeJuly 4, 2018 at 9:58 pm #981353Thanks. It seems to work a little better now.
July 6, 2018 at 12:49 am #981777 - If I view the gallery on the bottom of this page in the lightbox I whitness the problem that the lightbox starts to scroll down when moving from image 16 to 17. Moving back and forth from 16 to 17 makes it even worse.
-
AuthorPosts
- You must be logged in to reply to this topic.