I am building a project that uses Masonry.js and the Infinite Scroll plugin for wordpress. And it works. Correctly scales. No problems on refresh.
However, when I link from pages that use css background with an image url. It breaks. When I remove those elements or even change background to a color instead of an image, I can navigate to the blog without breaking masonry. Images for the backgrounds are a manageable 1200 x 600.
I can't wrap my head around why css on a referer page would disrupt the js that starts on load on the blog.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire