WordPress.org

Ready to get started?Download WordPress

Forums

Infinite-Scroll
[Plugin: Infinite Scroll] Please need help to figure out selectors (6 posts)

  1. nicolaslive
    Member
    Posted 2 years ago #

    Hi, I posted before and for some reasons I can't edit or follow up on the old post.

    Here it is:

    The website is electrocaine
    Theme I am using is Reaction by epicera on themeforest.

    I am using the following Selectors:
    Content CSS Selector: #eleven columns content
    Post CSS Selector: #eleven columns content div.the_content post type-post hentry excerpt clearfix
    Navigation Links CSS Selector: div.article_nav
    Previous posts CSS Selector: div.article_nav div.m button(I have tried div.article_nav div.a:first too, without any luck)

    Please point out if I am doing something wrong here. Appreciate the help. Thanks!

    http://wordpress.org/extend/plugins/infinite-scroll/

  2. beaver6813
    Member
    Plugin Author

    Posted 2 years ago #

    Hi nicolaslive,
    You'll be wanting the following selectors:
    Content CSS Selector: .content
    Post CSS Selector: .post
    Navigation Links CSS Selector: .article_nav
    Previous posts CSS Selector: .article_nav .m a:first

    Let me know how it goes, you'll need to reduce the number of posts initially loaded to something like 8, it'll reduce your page load time and make it look awesome.

  3. nicolaslive
    Member
    Posted 2 years ago #

    Hi beaver6813,

    the selectors are great. However, it seems not to be working for homepage.
    The "Previous" Navigation appears. If I click on it, it sends me to Page 2 whereby infinite scrolls work perfectly. Any hint why it may not be working on HomePage? I have limited the posts to 8 as you mentioned.

    Thanks a lot for the help.

  4. beaver6813
    Member
    Plugin Author

    Posted 2 years ago #

    That is so odd! Could you turn on Debug for me please? (Under infinite-scroll options)
    EDIT: Got it, we were selecting the m button rather than previous button :) (not sure what m stands for, more?)

    Change to:
    Previous posts CSS Selector: .article_nav .p a:first

  5. nicolaslive
    Member
    Posted 2 years ago #

    Hi beaver6813

    It's working! Awesome!! Thanks a lot! :D

  6. 70074512
    Member
    Posted 2 years ago #

    Hi, I'm having trouble knowing the selectors too... I'm using wpzoom gallery v1.1 , I'm currently testing it on http://www.test.coolestech.com , but I will be using it on my original website shortly ( http://www.coolestech.com ), I have uploaded the styles.css file here: http://www.megaupload.com/?d=4FK4HODN

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic