Inconsistent layout with jQuery masonry
-
Topic
-
I’m finding that masonry sometimes destroys the layout, other times does not, depending on which browser I use and whether I’m refreshing the page or just clicking the link again in the navbar:
http://www.pillerdesigns.com/bouldereditors/member-directory/
Sometimes it works and other times I see a bar through Debra and it’s out of order: http://cl.ly/OfnD
I wonder if this has to do with the fact that Jump Start splits the posts into grid-rows. What’s a good workaround?
Here is my theme.js code inside the document.ready function:
$('div.grid-protection').masonry({ itemSelector : '.grid-item' });
I tried loading masonry in window.load instead of document.ready (that’s what I usually do on other sites), but that looked even worse.
Thanks!
- You must be logged in to reply to this topic.