jQuery( document ).ready( function( $ ) { $( '#secondary' ).masonry( { itemSelector: '.widget', columnWidgth: '50%' } ); } );