# How to hide “uncategorized” from Hamburger menu?

**URL:** https://meta.discourse.org/t/how-to-hide-uncategorized-from-hamburger-menu/75614
**Category:** Support
**Created:** [2017年十二月7日 11:02 UTC](https://meta.discourse.org/t/how-to-hide-uncategorized-from-hamburger-menu/75614 "2017-12-07T11:02:32Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![terraboss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/terraboss/32/381157_2.png) [@terraboss](https://meta.discourse.org/u/terraboss)
#### Post date: [2017年十二月7日 11:02 UTC](https://meta.discourse.org/t/how-to-hide-uncategorized-from-hamburger-menu/75614/1 "2017-12-07T11:02:32Z")

</div>

Hello,  
is there some way, maybe due a CSS hack, to hide the “uncategorized” category?  
This category is disabled by default. It has no content and couldn’t be removed at all.

 ![12](https://global.discourse-cdn.com/meta/original/3X/2/e/2ed9d8f113d8636bedee53740210f1e1fd81de5e.jpg)

Thank you

---

<div class="post-metadata">

### Author: ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)
#### Post date: [2017年十二月7日 11:15 UTC](https://meta.discourse.org/t/how-to-hide-uncategorized-from-hamburger-menu/75614/2 "2017-12-07T11:15:43Z")

</div>

If #Uncategorized is disabled, then non-staff users will not see it in the hamburger menu, but staff will see it regardless of the setting (not sure why though 🙂).

But if you want to hide it from your staff too, then here is CSS code to hide it:

```css
.category-uncategorized {
    display: none;
}

```

---

<div class="post-metadata">

### Author: ![terraboss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/terraboss/32/381157_2.png) [@terraboss](https://meta.discourse.org/u/terraboss)
#### Post date: [2017年十二月7日 11:19 UTC](https://meta.discourse.org/t/how-to-hide-uncategorized-from-hamburger-menu/75614/3 "2017-12-07T11:19:40Z")

</div>

Thanks! This confused me a lot 😃

---

<div class="post-metadata">

### Author: ![Kanister](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kanister/32/89791_2.png) [@Kanister](https://meta.discourse.org/u/Kanister)
#### Post date: [2018年三月24日 13:19 UTC](https://meta.discourse.org/t/how-to-hide-uncategorized-from-hamburger-menu/75614/4 "2018-03-24T13:19:14Z")

</div>

Hi

Probably stupid question, but could you tell me where I should add this CSS code into?

Thanks a lot.

V

---

<div class="post-metadata">

### Author: ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)
#### Post date: [2018年三月24日 13:26 UTC](https://meta.discourse.org/t/how-to-hide-uncategorized-from-hamburger-menu/75614/5 "2018-03-24T13:26:45Z")

</div>

Hi

Go to Admin \> Customize \> Themes and create a new theme and then click on Edit CSS/HTML and add the CSS code under Common \> CSS. Finally make the new theme a component under your default theme. Hope this helps! 🙂

---

<div class="post-metadata">

### Author: ![Kanister](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kanister/32/89791_2.png) [@Kanister](https://meta.discourse.org/u/Kanister)
#### Post date: [2018年三月25日 13:30 UTC](https://meta.discourse.org/t/how-to-hide-uncategorized-from-hamburger-menu/75614/6 "2018-03-25T13:30:52Z")

</div>

> [@Osama](#):
>
> .category-uncategorized {  
> display: none;  
> }

感谢您的快速回复！

我希望我一切都做对了，但它不起作用 ☹ 我在这方面完全是新手 ☹ 抱歉，这是包含的 CSS 图片：

 ![CSS](https://global.discourse-cdn.com/meta/original/4X/3/8/c/38c553bc6a0e5e1fda1714c2c17533baa559a6a6.png)

V

---

<div class="post-metadata">

### Author: ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)
#### Post date: [2018年三月25日 15:03 UTC](https://meta.discourse.org/t/how-to-hide-uncategorized-from-hamburger-menu/75614/7 "2018-03-25T15:03:07Z")

</div>

Ok you’ve done the first step. Now you need to add the new theme as a component for your default theme like so:

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/7/a7fb20773fac8e625b5149e4106dbc0eb90197b9.png)

---

<div class="post-metadata">

### Author: ![Kanister](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kanister/32/89791_2.png) [@Kanister](https://meta.discourse.org/u/Kanister)
#### Post date: [2018年三月25日 17:14 UTC](https://meta.discourse.org/t/how-to-hide-uncategorized-from-hamburger-menu/75614/8 "2018-03-25T17:14:37Z")

</div>

Thank you for quick answer, I did it but no result … I still see it even as normal user (not like admin). ☹

 ![I_have_it_no_result](https://global.discourse-cdn.com/meta/original/3X/1/1/1155f16085e4846f8085d4a5d5a4e930a9998163.PNG)

---

<div class="post-metadata">

### Author: ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)
#### Post date: [2018年三月25日 17:31 UTC](https://meta.discourse.org/t/how-to-hide-uncategorized-from-hamburger-menu/75614/9 "2018-03-25T17:31:00Z")

</div>

Hmmm.. this looks correct to me, not sure what’s going on. Is your site private? If not, I’d be happy to take a look for you.

---

<div class="post-metadata">

### Author: ![Kanister](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kanister/32/89791_2.png) [@Kanister](https://meta.discourse.org/u/Kanister)
#### Post date: [2018年三月25日 17:31 UTC](https://meta.discourse.org/t/how-to-hide-uncategorized-from-hamburger-menu/75614/10 "2018-03-25T17:31:50Z")

</div>

Wooooo I got it! I had to disable posting topics into uncategorized category … in admin! Done! Thank you kindly for your help!

V

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2020年七月21日 12:41 UTC](https://meta.discourse.org/t/how-to-hide-uncategorized-from-hamburger-menu/75614/11 "2020-07-21T12:41:46Z")

</div>



---

<div class="post-metadata">

### Author: ![osioke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osioke/32/238946_2.png) [@osioke](https://meta.discourse.org/u/osioke)
#### Post date: [2020年七月21日 12:51 UTC](https://meta.discourse.org/t/how-to-hide-uncategorized-from-hamburger-menu/75614/12 "2020-07-21T12:51:11Z")

</div>


