Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8261
    lsterling03
    Participant

    Hi. I have the plugin working, except the Load More button goes into the wrong container. It is placed inside the grid of posts, rather than outside of it in the parent container (#main-content), where the original pagination was. See this screenshot of the HTML structure. The button is being placed as if it is another post, which is throwing off my layout.

    Screenshot of html

    Screenshot of frontend

    My settings are:
    Navigation Selector: .pagination-wrap (have also tried .pagination)
    Next Selector: .pagination-wrap .pagination a.page-numbers
    Content Selector: #main-content
    Item Selector: .blog-card

    #8266
    Skandha
    Participant

    @lsterling03: Hello there,
    Can you please post in your site URL so that I can look into the issue?

    Kind Regards,
    Skandha

    #8286
    lsterling03
    Participant

    https://vsp2020.wpengine.com/latest-news/

    I fixed the layout with CSS to force it to clear to its own line, so it looks okay now, but it should be able to go into the same container where the old navigation was.

    The bigger issue now is that it only loads new posts on the first click of the Load More button. Once you click it again, it starts loading the original posts over again, rather than loading the next set. We have 31 posts, and show 12 at a time. The oldest post is in 2012. But it only goes back to 2016, and then starts over. Do you know why this is happening?

    Thanks!

    • This reply was modified 3 years, 7 months ago by lsterling03. Reason: added notify follow up email checkbox
    #8302
    Skandha
    Participant

    @lsterling03: Hello there,
    I will need to look into your site to debug the issue. I have sent you an email. Please check your inbox as well as the spam folder.

    Kind Regards,
    Skandha

    #8329
    lsterling03
    Participant

    Hi, I was able to fix this by following this thread: https://catchplugins.com/support-forum/topic/catch-infinite-scroll-has-stopped-working-on-my-new-theme/ I have the same pagination structure as he did, and I saw your note to change it from a.page-numbers to a.next. That solved it for me.

    The button is still not in the right container, but that’s okay since I can fix it with CSS. Thank you!

    #8342
    Skandha
    Participant

    @lsterling03: Glad you were able to figure it out. Have a good day! 🙂

    Kind Regards,
    Skandha

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Load More button is not being placed in the right container.’ is closed to new replies.