Title: Hide sidebar categories
Last modified: February 17, 2024

---

# Hide sidebar categories

 *  Resolved [benington](https://wordpress.org/support/users/benington/)
 * (@benington)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/hide-sidebar-categories/)
 * Hi. I had a CSS code provided by your team to help me hide the categories in 
   the sidebar, and only leave vivible the one active, where the content is showing.
   Now since I updated to latest version that CSS code doesn’t work anymore. Here
   is an image that shows what I’d like to leave visible and what to remove: [https://i.imgur.com/VdUgAcY.jpeg](https://i.imgur.com/VdUgAcY.jpeg)
 * Thanks.

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

 *  Plugin Support [Amit Barai Alit](https://wordpress.org/support/users/amitbarai013/)
 * (@amitbarai013)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/hide-sidebar-categories/#post-17434061)
 * Hi [benington](https://wordpress.org/support/users/benington/),
   Hope you are 
   doing well.We are really sorry to hear that. In order to get such a feature in
   the sidebar category, please, push the following CSS lines to your custom CSS
   section:
 *     ```wp-block-code
       .betterdocs-single-category-wrapper.category-grid.active.default.show {     
           display: block;
       }
   
   
       .betterdocs-single-category-wrapper.category-grid.default {    
   
           display: none;
   
       }
       ```
   
 * You can simply add custom CSS by navigating to your **WordPress Dashboard -> 
   Appearance -> Customize**.
 * After you are on the Customizer page, search for the **“Additional CSS”** option.
   You can then go ahead and insert CSS Code. Please check this screencast to learn
   more – [https://d.pr/v/QrrfTw](https://d.pr/v/QrrfTw)
 * Let me know how it goes.
   Thank you.
 *  Thread Starter [benington](https://wordpress.org/support/users/benington/)
 * (@benington)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/hide-sidebar-categories/#post-17435395)
 * Hi, thanks for the reply, this code indeed does what I need, but it also deletes
   all categories in the guides page. So it works for removing categories in the
   sidebar, but it also removes the categories in my guides main page.
 *  Plugin Support [Amit Barai Alit](https://wordpress.org/support/users/amitbarai013/)
 * (@amitbarai013)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/hide-sidebar-categories/#post-17437106)
 * Hi [benington](https://wordpress.org/support/users/benington/),
   We are really
   sorry to hear that. I am looking into your issue. I will let you know the update
   after checking this and will reply you on this topic, no worries.Thanks for your
   patience and cooperation.
 *  Thread Starter [benington](https://wordpress.org/support/users/benington/)
 * (@benington)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/hide-sidebar-categories/#post-17438547)
 * Thanks, I will wait for the answer.
 *  Plugin Support [Amit Barai Alit](https://wordpress.org/support/users/amitbarai013/)
 * (@amitbarai013)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/hide-sidebar-categories/#post-17444566)
 * Hi [benington](https://wordpress.org/support/users/benington/),
   I hope you are
   doing well. Thanks for allowing us the time.
 * You can simply fix this issue by using some Custom CSS. Please use this Custom
   CSS given below –
 * `#betterdocs-sidebar .betterdocs-single-category-wrapper.category-grid.active.
   default.show { 
    display: block; } #betterdocs-sidebar .betterdocs-single-category-
   wrapper.category-grid.default {  display: none; }
 * You can simply add custom CSS by navigating to your **WordPress Dashboard -> 
   Appearance -> Customize**. After you are on the Customizer page, search for the**“
   Additional CSS”** option. You can then go ahead and insert CSS Code. Please check
   this screencast to learn more – [https://d.pr/v/QrrfTw](https://d.pr/v/QrrfTw)
 * Let me know how it goes. 
   Thank you.
 *  Thread Starter [benington](https://wordpress.org/support/users/benington/)
 * (@benington)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/hide-sidebar-categories/#post-17445630)
 * Hi, thanks for your reply! The latest code your provided worked! Thank you!
 *  Plugin Support [Amit Barai Alit](https://wordpress.org/support/users/amitbarai013/)
 * (@amitbarai013)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/hide-sidebar-categories/#post-17450299)
 * Hi [benington](https://wordpress.org/support/users/benington/),
   I am so glad 
   to know that your issue is resolved and I was able to help, please feel free 
   to contact our support anytime you need help, we are always here to help.
 * If you don’t mind me asking, could you do me a favor, and spend 30-sec to review
   us following this link, this will help us to serve better.
 * Thank you in advance!
 * **Link to review – **[https://wordpress.org/support/plugin/betterdocs/reviews/#new-post](https://wordpress.org/support/plugin/betterdocs/reviews/#new-post)
   
   Have a good day! :$

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

The topic ‘Hide sidebar categories’ is closed to new replies.

 * ![](https://ps.w.org/betterdocs/assets/icon-256x256.png?rev=2953105)
 * [BetterDocs – Knowledge Base Docs & FAQ Solution for Elementor & Block Editor](https://wordpress.org/plugins/betterdocs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/betterdocs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/betterdocs/)
 * [Active Topics](https://wordpress.org/support/plugin/betterdocs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/betterdocs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/betterdocs/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Amit Barai Alit](https://wordpress.org/support/users/amitbarai013/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/hide-sidebar-categories/#post-17450299)
 * Status: resolved