Hi! I’m looking for a way to remove an item from the flow of things within a masonry layout. I’m developing a WP site and for sticky posts i’d like to remove them. Right now this is where I am at:
var container = document.querySelector( '#main' );
var stampElem = document.querySelector( '.sticky' );
var msnry = new Masonry( container, {
itemSelector: '.masonry-item',
msnry.stamp( stampElem );
});
I can’t get it working and my java is lack luster. Is this doable? The stickys will be 100% width and breaks the layout, so I need to be able to style around them.