Home › Forums › Support › Format Video This topic has 15 replies, 3 voices, and was last updated 3 years, 11 months ago by Tom. Viewing 15 posts - 1 through 15 (of 16 total) 1 2 → Author Posts May 23, 2020 at 3:14 am #1297785 Royal Rangers When I use a video format on archive page is bad formatting. https://ctrlv.cz/jvOL https://ctrlv.cz/LiLB For example I try insert a Instagram post and problem is too. How I can fix it? May 23, 2020 at 4:42 am #1297859 DavidStaff Customer Support Hi there, try adding this CSS: .masonry-container .post .wp-block-embed { min-height: 220px; } May 23, 2020 at 5:15 am #1297903 Royal Rangers Hi David, I add code to custom css. In Opera/Chrome/Firefox:¨ https://ctrlv.cz/f1CK https://ctrlv.cz/DRKo Maybe is problem with Gutenberg embed block? When I try resize browser window and back to fullscreen it work. May 23, 2020 at 5:29 am #1297929 DavidStaff Customer Support Try clearing your browser cache as its working for me. The issue is that the Masonry option is calculating the height of the posts before the Embed has loaded. May 23, 2020 at 5:45 am #1297952 Royal Rangers I try in Chrome, Opera, Firefox, Edge and everywhere same. I try anonymous mode too and same. chrome firefox edge I try add Instagram post as postformat link instagram May 23, 2020 at 4:38 pm #1298589 TomLead Developer Lead Developer Hi there, Can you try adding this as a Hook Element (https://docs.generatepress.com/article/hooks-element-overview/) in the wp_footer hook?: <script> jQuery( window ).load( function() { var masonry = $( '.masonry-container' ); if ( masonry ) { masonry.masonry( 'layout' ); } } ); </script> May 23, 2020 at 10:48 pm #1298758 Royal Rangers Hi Tom, I try this. Doesn´t work. May 24, 2020 at 11:10 am #1299559 TomLead Developer Lead Developer Is it still added to the site? May 24, 2020 at 12:01 pm #1299619 Royal Rangers Yes May 24, 2020 at 7:30 pm #1299903 TomLead Developer Lead Developer I’m not seeing it in the source code. Can you deactivate your caching/minifying plugin? May 25, 2020 at 7:16 am #1300491 Royal Rangers Plugin is deactivated. May 25, 2020 at 4:12 pm #1301274 TomLead Developer Lead Developer Hmm, it’s like we need a trigger to fire once the videos are done loading so masonry reloads, but I’m not sure if that’s possible. You may be stuck with regular columns if you’ll be loading videos like this, unfortunately. May 25, 2020 at 10:39 pm #1301457 Royal Rangers I understand. Its surprised me because interesting function and doesnt work good for me. May 26, 2020 at 10:49 am #1302433 TomLead Developer Lead Developer I’ll look at the core code and see if there’s any way for me to make it aware of videos loading. May 29, 2020 at 11:05 am #1306827 Royal Rangers Thanks for your support! Author Posts Viewing 15 posts - 1 through 15 (of 16 total) 1 2 → You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In