• Resolved therealgilles

    (@chamois_blanc)


    Hi,

    I am having issues with the load more posts functionality. I have a grid with 3 columns (btw it would be nice to be able to control the number of columns on tablet screens), 3 posts being displayed by default (in a single row), and 4 posts total. When I click on “Load more posts” to display the 4th one, it displays on the bottom right and does not create vertical space for itself. It therefore appears underneath the footer that follows.

    Here is a screenshot showing the issue:
    https://ibb.co/nMUhvy

    Any advice? Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter therealgilles

    (@chamois_blanc)

    A quick update: the space problem does not happen every time but still on a regular basis.

    Thread Starter therealgilles

    (@chamois_blanc)

    Mentioning I am running v2.4.3 so maybe it has been fixed since then. Will hopefully be able to update the plugin soon.

    Plugin Author Rupok

    (@re_enter_rupok)

    Hi there,

    Kindly update to latest version and check. I hope it’s already better. If not then let me know, I’ll check again.

    Thanks!

    Thread Starter therealgilles

    (@chamois_blanc)

    Hi Rupok,

    Updating to the latest version did not make things better. I see you are using masonry. Looking at the library documentation, it states to do as follows:

    // init Masonry
    var $grid = $('.grid').masonry({
      // options...
    });
    // layout Masonry after each image loads
    $grid.imagesLoaded().progress( function() {
      $grid.masonry('layout');
    });

    I do not see the call with layout on your code when new posts are loaded. That’s probably the issue.

    • This reply was modified 6 years, 6 months ago by therealgilles.
    Thread Starter therealgilles

    (@chamois_blanc)

    Hmm I see you are re-creating the masonry every time, so the problem may be elsewhere…

    Plugin Author Rupok

    (@re_enter_rupok)

    Hi @chamois_blan

    Actually we did fix the issue but not released yet since we are adding some more features and hopefully will be released on next Sunday. Meantime, you can use the updated files from Github.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘EA Post Grid – problem with load more posts’ is closed to new replies.