Hi,
I’ve discovered that AJAX Links loading feature is not working properly with masonry, what happen is that all the next pages loaded are not correctly aligned and images are overlapped.
In order to fix this problem I’ve changed the javascript code in Functions.php
Change line 801
var content = $('#content .entries', helper);
$('.entries').append(content.html());
with
var entities = $('#content .entries article', helper).toArray();
$('.entries').append(entities).masonry( 'appended', entities, true );
Hope this can help you too.
Please correct functions.php for future release.
-
This topic was modified 11 years, 2 months ago by bagbyte. Reason: 1 line of code instead of 2
-
This topic was modified 11 years, 2 months ago by bagbyte. Reason: 2 line of code, final version