-
AuthorPosts
-
May 28th, 2020 at 04:28 #103271
The ‘top’ property of each article block was calculated before the responsive video iframe height was adjusted. After the video iframe was adjusted, the height of the article block was shortened that leave a large gap between the article block underneath.
June 14th, 2020 at 12:32 #104043Found the fix.
under:
wp-content/themes/parabola/js/frontend.jsLoad FitVids before Masonry
before:
/* Second Masonry, in case elements expand size due to dynamic content */ if (parabola_settings.masonry==1) { jQuery('body.magazine-layout .content-masonry').masonry({ itemSelector: 'article', columnWidth: 'article', percentPosition: true, }); } /* FitVids & mobile menu */ if (parabola_settings.mobile==1) parabola_mobilemenu_init(); if (parabola_settings.fitvids==1) jQuery(".entry-content").fitVids();
After:
/* FitVids & mobile menu */ if (parabola_settings.mobile==1) parabola_mobilemenu_init(); if (parabola_settings.fitvids==1) jQuery(".entry-content").fitVids(); /* Second Masonry, in case elements expand size due to dynamic content */ if (parabola_settings.masonry==1) { jQuery('body.magazine-layout .content-masonry').masonry({ itemSelector: 'article', columnWidth: 'article', percentPosition: true, }); }
June 26th, 2020 at 10:44 #104594ZedCryout Creations mastermindThank you for pointing this out. We’ll get it sorted for the next theme update.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic. -
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
The topic ‘Video Post alignment in Magazine layout’ is closed to new replies.