jQuery('#post-grid-lazy-3007').ready(function($){
var $container = $('#post-grid-3007 .grid-items');
$container.masonry({
itemSelector: '.item',
columnWidth: '.item', //as you wish , you can use numeric
isAnimated: true,
isFitWidth: true,
horizontalOrder: true,
});
$container.imagesLoaded().done( function() {
$container.masonry('layout');
});
})