- This topic has 5 replies, 3 voices, and was last updated 11 years ago by
Tom.
-
AuthorPosts
-
April 26, 2015 at 11:27 pm #102646
Alexandros
Is it possible to automatically load more posts (within the blog) whenever a user scrolls down, instead of pressing the +Read more button ?
thanksApril 26, 2015 at 11:43 pm #102651Alexandros
ok i tried a couple of plug ins as i realized that this is a plugin
but …
When the 2nd page loads the the content takes max width and the format is broken,
any ideas ? any fixes so far ? any plugin that could do the work
thanks againApril 27, 2015 at 12:28 am #102656Alexandros
Infinite Scroll Options
worked for me.
choose
content selector .masonry-container
scroll down
Behaviour -> masonry
savethat does the trick.
before closing the threat to resolvedthose are the default values… since everything seems to be ok do you believe there is any reason for changing those to a different value please ?
Navigation Selector Div containing your theme’s navigation –>#nav-below
Next Selector Link to next page of content –>#nav-below a:first
Item Selector Div containing an individual post –>.postthank you
April 28, 2015 at 8:35 am #103241Tom
Lead DeveloperLead DeveloperWow – not sure how I missed this, super sorry!
Glad to see you figured it all out!
Navigation Selector Div containing your theme’s navigation –>#nav-below – correct
Next Selector Link to next page of content –>#nav-below a:first – correct
Item Selector Div containing an individual post –>.post – change this to .masonry-postThat should it 🙂
June 16, 2015 at 12:32 pm #114995Tara
As Alexandros said, the Infinite-Scroll plugin seems to work although it hasn’t been updated for more than two years. To fix the masonry layout you need to add this code in the Callback box on the Infinite Scroll Options settings screen:
(function($) { var $container = $('.masonry-container'); // this is the content selector $container.imagesLoaded( function() { $container.masonry({ itemSelector: '.masonry-post' // this is the item selector }); }); })(jQuery);(Thanks to Jase on this plugin support thread)
June 17, 2015 at 12:10 am #115088Tom
Lead DeveloperLead DeveloperThanks for posting that, Tara! Will definitely come in handy 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.