JezK
Edit File: masonryLayout.min.js
!function(o){woodmartThemeModule.$document.on("wdPortfolioPjaxComplete",function(){woodmartThemeModule.masonryLayout()}),o.each(["frontend/element_ready/wd_blog.default","frontend/element_ready/wd_blog_archive.default","frontend/element_ready/wd_portfolio.default"],function(o,e){woodmartThemeModule.wdElementorAddAction(e,function(){woodmartThemeModule.masonryLayout()})}),woodmartThemeModule.masonryLayout=function(){if(void 0!==o.fn.isotope&&void 0!==o.fn.imagesLoaded){var e=o(".wd-masonry:not(.wd-cats)");e.imagesLoaded(function(){e.isotope({gutter:0,isOriginLeft:!woodmartThemeModule.$body.hasClass("rtl"),itemSelector:".blog-design-masonry, .blog-design-mask, .masonry-item"})})}},o(document).ready(function(){woodmartThemeModule.masonryLayout()})}(jQuery);