Title: Finding CSS Selectors &#8211; I&#039;m Wrong!
Last modified: August 21, 2016

---

# Finding CSS Selectors – I'm Wrong!

 *  Resolved [BuyManThings](https://wordpress.org/support/users/buymanthings/)
 * (@buymanthings)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/finding-css-selectors/)
 * 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://buymanthings.com/)
 * [http://wordpress.org/extend/plugins/infinite-scroll/](http://wordpress.org/extend/plugins/infinite-scroll/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [BuyManThings](https://wordpress.org/support/users/buymanthings/)
 * (@buymanthings)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/finding-css-selectors/#post-3882788)
 * 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](https://wordpress.org/support/users/buymanthings/)
 * (@buymanthings)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/finding-css-selectors/#post-3882795)
 * 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](https://wordpress.org/support/users/buymanthings/)
 * (@buymanthings)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/finding-css-selectors/#post-3882802)
 * 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](https://f.cloud.github.com/assets/4870987/723489/568b9d16-e019-11e2-8311-d4818689511b.png)
 *  Thread Starter [BuyManThings](https://wordpress.org/support/users/buymanthings/)
 * (@buymanthings)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/finding-css-selectors/#post-3882804)
 * 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](https://wordpress.org/support/users/beaver6813/)
 * (@beaver6813)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/finding-css-selectors/#post-3882825)
 * [@buymanthings](https://wordpress.org/support/users/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](https://wordpress.org/support/users/buymanthings/)
 * (@buymanthings)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/finding-css-selectors/#post-3882836)
 * Perfect. That worked. Thanks for taking the time to look and explaining why it
   works the way it does
 *  [Viral](https://wordpress.org/support/users/hiteshs1188/)
 * (@hiteshs1188)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/finding-css-selectors/#post-3882977)
 * Hi,
 * I tried many times but infinite scroll plugin is not working on my site [http://www.viralstories.in](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](https://wordpress.org/support/topic/finding-css-selectors/hitesh.s1188@gmail.com?output_format=md)
 *  [Saurabh](https://wordpress.org/support/users/sorb/)
 * (@sorb)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/finding-css-selectors/#post-3882979)
 * Hello There,
 * My website is [http://www.fantista.com](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.

 * ![](https://s.w.org/plugins/geopattern-icon/infinite-scroll.svg)
 * [Infinite-Scroll](https://wordpress.org/plugins/infinite-scroll/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/infinite-scroll/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/infinite-scroll/)
 * [Active Topics](https://wordpress.org/support/plugin/infinite-scroll/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/infinite-scroll/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/infinite-scroll/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [Saurabh](https://wordpress.org/support/users/sorb/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/finding-css-selectors/#post-3882979)
 * Status: resolved