Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Plugins
    In reply to: Styling Meta Boxes

    Hey Ryan, I’m just about to throw together a meta box here and was wondering the same thing. Had you found much of an answer?

    Usually misplaced masonry bricks are due to assigning positions before images are loaded–then when the images finally appear, they occupy more space than masonry accounted for.

    Just make sure the images within your $container are loaded before calling masonry:

    $container.imagesLoaded( function(){
    	$container.masonry({
    		// etc...
    		}
    	});
    });
Viewing 2 replies - 1 through 2 (of 2 total)