Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've got masonry working, like so:

    $('.content').imagesLoaded( function() {
            $('.wrapper, .content').fadeIn(600);

    $('.index-page .content').masonry({
  itemSelector: '.post',
  "isFitWidth": true,
  isAnimated: true,
  "columnWidth": ".post",
  "gutter": 25


And I am using the infinite scroll plugin seen here.

My problem is when the posts get loaded, they don't adhere to the masonry plugin — they overlap are not formatted in any way.

The plugin has a textbox where we can paste a callback. I've seen the masonry documentation, but unsure how to incorporate it in my code. Any help would be greatly appreciated.

share|improve this question
have you a link for see what are you talking about? thanks Mario –  user3091886 Dec 20 '13 at 16:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.