WordPress.org

Ready to get started?Download WordPress

Forums

Infinite-Scroll
[resolved] Need help with sundance Theme > Selectors (3 posts)

  1. klaushardt
    Member
    Posted 2 years ago #

    I need help with figuring out my Selectors for my Child Theme of sundance.
    It uses the Same Classes as sundace so i think its just like the normal Theme.

    Im using these Selectors atm:
    Content Selector: div#content
    Posts Selector: #content div.post

    Navigation Selector: div.site-navigation
    Next Page Selector: div.site-navigation a:contains(Older posts)

    But its not working, i also tried different Selectors like: div.site-navigation div.nav-previous or div.nav-previous but none of them worked.

    My theme is Sundance: http://sundancedemo.wordpress.com/
    and im using version: 2.0b2.120111 of Infinite Scroll
    My website is: http://www.klaushardt.com/

    Any suggestions? =)

    Thanks in Advance.

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

  2. beaver6813
    Member
    Plugin Author

    Posted 2 years ago #

    Try the following:

    Content Selector: #content
    Posts Selector: #content article.post
    Navigation Selector: nav.paging-navigation
    Next page Selector: nav.paging-navigation .nav-previous a:first

    Cheers
    Sam

  3. klaushardt
    Member
    Posted 2 years ago #

    Thank you very much, it worked. =)

    The loading image is not centerd, but i think this has to be debugged with my theme. I will look into that later.
    I think it is cause the Next and Prev Links were left aligned and not centerd and now the loading image is centerd inside the left aligned div.

    Maybe i have to change it in my Child Theme style.css.

    Anyway, thanks for your help. =)

    Cheers
    Phil

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic