• Resolved BuyManThings

    (@buymanthings)


    I’ve been doing my best to find theCSS selectors for my theme using inspect element for a few days, I just cant find what I need. The developers of my theme havent been much help either. This is what I think might be correct so far, but it may be wrong.

    Navigations “. pagination”
    Content “#entries”
    Item “.entry”

    Can anyone take a look and see what they can find, or point me in the right direction? Thanks in advance!

    http://buymanthings.com/

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter BuyManThings

    (@buymanthings)

    This is the best I can find using inspect element, this seems right, but I cant make it work!

    Content Selector – #entries
    Navigation Selector – . pagination
    Next Selector – .alignleft
    Item Selector – .entry

    If someone could please take a look and help me out I would appreciate it, I’m really trying my best.

    Thread Starter BuyManThings

    (@buymanthings)

    I’m almost positive those are the right selectors now. (I know it should be .pagination with no space)

    I still cant make the plugin work! Any Ideas?

    Thread Starter BuyManThings

    (@buymanthings)

    Here is where it should be if anyone can take a quick look and offer any ideas`

    https://f.cloud.github.com/assets/4870987/723489/568b9d16-e019-11e2-8311-d4818689511b.png

    Thread Starter BuyManThings

    (@buymanthings)

    I briefly had it working with

    Content Selector #entries
    Navigation Selector .pagination.clearfix
    Next Selector .alignleft
    Item Selector .post.entry.clearfix.latest

    But it doesnt work all the time correctly, I think theres something very minor off

    Plugin Contributor beaver6813

    (@beaver6813)

    @buymanthings
    I’d go for:

    Content Selector: #entries
    Navigation Selector: .pagination
    Next Selector: .pagination .alignleft a:first
    Item Selector: #entries .post

    With CSS selectors you can be as broad or specific as you like, so whilst you could have stuff like

    #entries .post.entry.clearfix.latest

    It’s going to be very specific and will most likely break on other pages that might not use exactly the same classes. So I think just specifying “post” is fine. The next page selector has to point to a hyperlink (<\a> tag) so you were close with .alignleft but as you can see above, you need to drill down and specify the “a:first” (first hyperlink inside alignleft).

    Let me know if it works, if not then just point me in the direction if your site with infinite-scroll debug set to On.

    Thread Starter BuyManThings

    (@buymanthings)

    Perfect. That worked. Thanks for taking the time to look and explaining why it works the way it does

    Viral

    (@hiteshs1188)

    Hi,

    I tried many times but infinite scroll plugin is not working on my site http://www.viralstories.in

    I am sure there is mistake with I have got some trouble finding the correct CSS selectors for Pinstagram Theme

    So, can anyone help me please?

    Regards,
    Hitesh Sharma
    hitesh.s1188@gmail.com

    Hello There,

    My website is http://www.fantista.com

    Can you please help me figure out the required DIVs?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Finding CSS Selectors – I'm Wrong!’ is closed to new replies.