![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
Tagged: masonry
-
AuthorPosts
-
October 31, 2018 at 12:29 pm #1028444
Hi there,
I am using Enfold for a lot of websites, so first of all thank you for your outstanding work!
I just found a bug on a fresh installation, that uses a Masonry Gallery and Masonry Portfolio. Both seem to have problems when resizing (elements stack up). When using the taxonomy function for the Portfolio Masonry, elements that don’t match the selected taxonomy disappear but the entire masonry is not resorted again (the removed element just leaves a white space behind).
I am using the current version of Enfold with NO OTHER PLUGIN active. I disabled all caching in the performance options.
Could any of the moderators please have a look? See credentials below. Thank you so much!
November 2, 2018 at 12:50 pm #1029126Can nobody help?
November 2, 2018 at 5:16 pm #1029225Hi henningtillmann,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Please refrain from bumping or replying to your own thread because it gets pushed back to the end of the queue and moderators won’t be able to provide a response immediately. Please be patient while we go through the rest of the queue. Thank you for your understanding.
Best regards,
VictoriaNovember 2, 2018 at 6:00 pm #1029247Hi Victoria,
I am sorry that I replied to my own thread. I know that the support here is outstanding and I was kind of worried that it took two days. Although it seemed like I was a bit too pushy in that moment, that was not my intention!
Please see login details below. All content is strictly confidential at the moment. I know you won’t, but please do not use any of the content elsewhere or copy it. Thank you for your help!
-
This reply was modified 5 years, 10 months ago by
henningtillmann.
November 7, 2018 at 2:25 pm #1030867I know that I should not reply to this thread, but the problem is that the website will go live tomorrow and the problem is still there. :-(.
November 8, 2018 at 3:18 am #1031061Hi,
I’m sorry for the late response. This script should help fix the “stacking up” issue.
// https://kriesi.at/support/topic/parallax-bug-on-background-images-with-pictures/#post-1013455
I’m not really sure if I understand the question regarding the “taxonomy”. Can you provide a screenshot of that? What do you mean by “taxonomy function”?
Best regards,
IsmaelNovember 8, 2018 at 12:29 pm #1031198Hi Ismael,
I added the script. No change. It seems like there is no jQuery available?
And why does the problem exist in general? I am using vanilla Enfold, no changes, no plugins, no fancy customizations? Shouldn’t it work right out of the box?
We removed the taxonomy sorting, so you cannot see it anymore. Because it didn’t work.
November 11, 2018 at 7:55 pm #1032284Hi henningtillmann,
Best regards,
VictoriaNovember 12, 2018 at 1:21 pm #1032584Victoria, I added the script because Ismael recommended adding this scirpt!
November 13, 2018 at 12:21 pm #1032962Hi,
And why does the problem exist in general?
The gallery script fails to calculate the actual or proper position of the gallery items because the images load later than expected. This issue usually happens on a gallery with a lot of images. The script above should force the gallery items to reposition until the site is fully loaded.
Victoria, I added the script because Ismael recommended adding this scirpt!
Did you set jQuery to load in the footer? Please check the Enfold > Performance panel.
I adjusted the code a bit and readded it in the functions.php file :
function ava_enqueue_custom_script() { if ( wp_script_is( 'avia-default', 'registered' ) ) { wp_add_inline_script( 'avia-default', "(function($){ var int = window.setInterval(function(){ console.log('tick'); $(window).trigger('resize'); $(window).trigger('av-content-el-height-changed'); }, 1000); $(window).on('load', function() { setTimeout( function() { clearInterval(int); }, 5000 ); }); })(jQuery);" ); } } add_action( 'wp_enqueue_scripts', 'ava_enqueue_custom_script', 9999);
Let us know if it’s working properly.
Best regards,
Ismael -
This reply was modified 5 years, 10 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.