Site logo

[Support request] How to add Infinite Scroll on Individual Article

Home Forums Support [Support request] How to add Infinite Scroll on Individual Article

Home Forums Support How to add Infinite Scroll on Individual Article

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1891801
    Devansh

    Hi, I want to add infinite scroll to the articles of my site – https://weknowcricket.com/

    #1891838
    David
    Staff
    Customer Support

    Hi there,

    best i can offer is this CSS – to stop the articles from appearing to the side:

    .single-post .site-content {
        flex-wrap: wrap;
    }
    @media(min-width: 769px) {
        .single-post #content > article, .single-post #content > .post-navigation {
            max-width: calc(75% - 80px);
        }
        .single-post #content > .post-navigation {
            width: 100%;
        }
    }

    But you have a lot of other scripts such as adverts that inject code that may cause some interference, not much i can do about that.

    #1891909
    Devansh

    Hi, can I create an account for you so you can add the CSS? I’m not tech-savvy and don’t want to break anything by tinkering with the code.

    #1892003
    David
    Staff
    Customer Support

    Simply copy the CSS.
    Go to Customizer > Additional CSS and paste the code in at the very top.

    #1892280
    Devansh

    Done. It’s working, sort of. It only loads one article after the current one and that’s it. Doesn’t load new content continuosly.

    #1893256
    David
    Staff
    Customer Support

    I tested the plugin on a local development site and it worked correctly.
    But then i don’t have adverts or other code being injected into the site as you do, which may be the problem.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.