-
AuthorPosts
-
November 7, 2018 at 4:29 am #1030693
I’m having an issue on this site where my masonry element is having a hard time showing below my advanced layer slider element. It seems to be specifically related to the parallax functionality in my slider. I created a duplicate page with everything the same, but using a non-parallax slider, and the masonry element loads every time (see links below). Are you familiar with this issue by chance? I’ll include some credentials for you. Thanks!
http://a48.f29.myftpupload.com (masonry doesn’t show up consistently)
http://a48.f29.myftpupload.com/home-duplicate/ (masonry shows consistently)November 8, 2018 at 8:19 am #1031135I no longer need this answer, now — we’ve decided against using the parallax — thanks anyway.
November 12, 2018 at 5:14 am #1032420Hi,
I would like to apologize for the late response. If you have a test page, we’ll try and check the issue.
Best regards,
IsmaelNovember 12, 2018 at 11:04 pm #1032776No prob — you should be able to see the issue on this page: http://a48.f29.myftpupload.com/home-portfolio-items/
Thanks and let me know if you have any questions.
November 14, 2018 at 5:06 am #1033318Hi,
Thanks for the update. I couldn’t reproduce the issue on Opera/Chrome Windows 8. The masonry element loads every time I refresh the page. Anyway, you can try this script in your functions.php file:
function ava_enqueue_custom_script_resize() { 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'); }, 2000); $(window).on('load', function() { setTimeout( function() { clearInterval(int); }, 1000 ); }); })(jQuery);" ); } } add_action( 'wp_enqueue_scripts', 'ava_enqueue_custom_script_resize', 9999);
Best regards,
IsmaelNovember 14, 2018 at 7:25 pm #1033624Thanks, but I don’t have the time or need to play with this right now. The issue seems pretty consistent (or at least very frequent) on my machine (High Sierra/Chrome/Safari), if you’re somehow able to test on a mac. Otherwise, thanks anyway and maybe I’ll revisit this a the client requires this set-up in the future.
https://screencast.com/t/RR76ECPQvyl
https://screencast.com/t/DLVi9oozQHZoNovember 16, 2018 at 7:13 am #1034305 -
AuthorPosts
- The topic ‘masonry not showing under advanced layer slider with parallax’ is closed to new replies.