I´m using Masonry and WordPress to make a little project to rate images...
The problem that I have is with Mansonry, the images overlap between other images.
http://postimg.org/image/kmvnzi7sh/
Here is the solution but I don´t understand how to fix it. --> http://masonry.desandro.com/#imagesloaded
In the header I have this:
<script src="http://code.jquery.com/jquery-2.1.1.min.js"> </script>
and in the footer I have this:
<script type="text/javascript">
var container = document.querySelector('.span12');
var msnry = new Masonry( container, {
// options
itemSelector: '.item-grid'
});
</script>
I don´t know exactly what to do with this: masonry.desandro.com/appendix.html#imagesloaded
BTW: I know that there are several plugins for WP to make the same effect that I want, but I prefer not use plugins..
I hope someone can help me to fix this!
Thank you!