Title: Collapse Category List
Last modified: January 17, 2022

---

# Collapse Category List

 *  Resolved [craigmckee](https://wordpress.org/support/users/craigmckee/)
 * (@craigmckee)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/collapse-category-list/)
 * I am creating a new site which has 1000’s of product sub-categories. I would 
   like to list the top level categories only in the sidebar until a user clicks
   on them to expand.
 * At the moment, all categories are fully expanding so making the sidebar far too
   long.
 * Any ideas?

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

 *  [aetta](https://wordpress.org/support/users/chiape/)
 * (@chiape)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/collapse-category-list/#post-15262244)
 * Hi [@craigmckee](https://wordpress.org/support/users/craigmckee/)!
 * If I understood you correctly, you can try to show only the Products at your 
   Category display.
 * Your Category Pages can display Products or Subcategories within a Category, 
   or both.
 * You can set it up thought your Customizer:_ Appearance > Customize > WooCommerce
   > Product Catalog_.
 * You can review these options here: [https://woocommerce.com/document/woocommerce-customizer/](https://woocommerce.com/document/woocommerce-customizer/)
 * Let me know if this is not exactly what you’re looking for!
 * All the best,
 *  Thread Starter [craigmckee](https://wordpress.org/support/users/craigmckee/)
 * (@craigmckee)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/collapse-category-list/#post-15262813)
 * Hi, thanks for the reply. Not quite, I want this list here to just show the top
   level parent categories until the user clicks on them. We literally have 1000’
   s of sub categories so a fully expanded list like this wouldn’t work.
 * [https://snipboard.io/o69sPW.jpg](https://snipboard.io/o69sPW.jpg)
 *  [Abiola Ogodo](https://wordpress.org/support/users/oaoyadeyi/)
 * (@oaoyadeyi)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/collapse-category-list/#post-15262989)
 * [@craigmckee](https://wordpress.org/support/users/craigmckee/)
 * I found a video that could help here: [https://www.youtube.com/watch?v=FAG1weZX7Sw](https://www.youtube.com/watch?v=FAG1weZX7Sw)
 *  Thread Starter [craigmckee](https://wordpress.org/support/users/craigmckee/)
 * (@craigmckee)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/collapse-category-list/#post-15263195)
 * Ah, thank you – that’s doing just what I want. Have a great day.
 *  [Igor H](https://wordpress.org/support/users/ihereira/)
 * (@ihereira)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/collapse-category-list/#post-15263479)
 * Thanks for letting us know!
 * If you have any further questions, I recommend creating a new thread, since this
   one is already resolved.

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

The topic ‘Collapse Category List’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Igor H](https://wordpress.org/support/users/ihereira/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/collapse-category-list/#post-15263479)
 * Status: resolved