I'm having problems with a website that uses isotope and loads all it's contents with ajax. I run the isotope script after the ajax call and it's running fine. The problem is that the elements are placed in a single column. The only way I found to relocate them is resizing the window to make isotope run again. Do you know which can be the problem?
This is my isotope function called after the ajax call:
jQuery('.products').isotope({
itemSelector: '.products li',
masonry : {
columnWidth : 40
}
});
This is a link to my site to see the problem in first person http://ves.cat/bpdT. Click on the logo and you'll see that after reloading the homepage with ajax the product thumbnails are in a single column, not like the start. If you resize the window, then it's ok, the thumbnails go back to their correct position.
I also tried to write jQuery('.products').isotope('reLayout');
after the isotope function but it didn't work also.
Thanks in advance!