whoisuncle

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Video Post alignment in Magazine layout #104043
    whoisuncle
    Participant

    Found the fix.
    under:
    wp-content/themes/parabola/js/frontend.js

    Load 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,
    		});
    	}
    
Viewing 1 post (of 1 total)