Skip to content Skip to sidebar Skip to footer

Masonry Float:left & Max-width

Much

Solution 1:

The Masonry #container must be positioned relative, the .masonry-brick elements are positioned absolute by the layout engine - that's the whole point about Masonry working out the positioning of elements automatically. If you change the positioning of the .masonry-brick elements yourself, you're putting a spanner in the works. See the documentation and the many examples out there. To change the position of the #container, just observe other examples with Chrome's devtools to see how with preceding elements, margins and padding you can put it where you want.


Post a Comment for "Masonry Float:left & Max-width"