Title: Problem when using Infinite Scroll for products
Last modified: August 22, 2016

---

# Problem when using Infinite Scroll for products

 *  [Tushar Tajane](https://wordpress.org/support/users/tushonline/)
 * (@tushonline)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/problem-when-using-infinite-scroll-for-products/)
 * Thanks for the neat plugin. Cheers for that.
    However, there’re an issue when
   using the Infinite Scroll for products.
 * The default ‘Grid’ shows fine for the first (page) set of products when using
   Infinite Scroll plugin & also attaches fine the `Grid` class to the `products
   ul` element as desired.
 * But, when we scroll down to load another (page) set of products, the `grid` class
   is missing from the `products ul` element. This results in showing the `<hr>`&
   the `descriptions` in Woocommerce’s default grid view . . . the entire Grid view
   is uneven with some having descriptions & some not.
 * Ideally, when scrolled down using Infinite Scroll – it should attach the `Grid`
   class for all loaded product `ul` elements
 * 1) What can we do to improve this?
    2) Under ‘Infinite Scroll’ plugin, there 
   is an option called `callback` & which says _‘Code that is called after each 
   new page is loaded’_ . . . maybe, we can add something here to make it work?
 * Thanks in advance.
 * [https://wordpress.org/plugins/woocommerce-grid-list-toggle/](https://wordpress.org/plugins/woocommerce-grid-list-toggle/)

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

 *  [mastervyk](https://wordpress.org/support/users/mastervyk/)
 * (@mastervyk)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problem-when-using-infinite-scroll-for-products/#post-5234793)
 * Hello Tushonline!
 * How did you create the infinite scroll for your website?
    Thanks!
 *  Thread Starter [Tushar Tajane](https://wordpress.org/support/users/tushonline/)
 * (@tushonline)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problem-when-using-infinite-scroll-for-products/#post-5234794)
 * I used this plugin.
    [https://wordpress.org/plugins/infinite-scroll/](https://wordpress.org/plugins/infinite-scroll/)
 * There is another, but this one still works.
 * Assign needed classes in plugin settings & you should be done.
 * Hope this helps.
 * PS: I’m no longer using this plugin **WooCommerce Grid / List toggle**

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

The topic ‘Problem when using Infinite Scroll for products’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-grid-list-toggle/assets/icon-256x256.jpg?rev
   =1184147)
 * [WooCommerce Grid / List toggle](https://wordpress.org/plugins/woocommerce-grid-list-toggle/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-grid-list-toggle/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-grid-list-toggle/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-grid-list-toggle/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-grid-list-toggle/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-grid-list-toggle/reviews/)

## Tags

 * [grid-view](https://wordpress.org/support/topic-tag/grid-view/)

 * 2 replies
 * 2 participants
 * Last reply from: [Tushar Tajane](https://wordpress.org/support/users/tushonline/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/problem-when-using-infinite-scroll-for-products/#post-5234794)
 * Status: not resolved