Masonry ajax success reLayout problem
-
Hi,
I am using the ALM plugin along with Masonry.
I have initial posts already loaded that look as they should with masonry.
When “load more” is fired by ALM the new posts that come in are on top of the old ones and don’t reLayout as per my grid at all…i tried to follow the example for this on the site to no success.
My html:
<div id=”grid”>
~ posts ~
~ short code for ALM (in php) ~
</div>My JS:
jQuery(document).ready(function($) {
var $container = $(‘#grid’);
// initialize
$container.masonry({
itemSelector: ‘.item’
});
});~js from ALM Masonry example~
———-
^ I didn’t add lots of detail. lmk if this is not enough.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Masonry ajax success reLayout problem’ is closed to new replies.