# Hide +New Topic on Top Level Categories

**URL:** <https://meta.discourse.org/t/hide-new-topic-on-top-level-categories/95513>\
**Category:** Development\
**Tags:** css\
**Created:** [23 באוגוסט,‏ 2018,‏ 10:07pm UTC](https://meta.discourse.org/t/hide-new-topic-on-top-level-categories/95513 "2018-08-23T22:07:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)\
**Post date:** [24 באוגוסט,‏ 2018,‏ 1:11am UTC](https://meta.discourse.org/t/hide-new-topic-on-top-level-categories/95513/2 "2018-08-24T01:11:16Z")

</div>

I don’t think there is a built in way, but you can achieve this with some simple CSS.

## Edit!

I think it’s even less involved than what I describe below if you are applying it to ALL top level categories. Try adding this to your theme’s Common CSS first:

```css
// Remove the New Topic button from all top-level categories
.categories-list:not(.navigation-categories) {
    button#create-topic{
        display: none;
    }
}

```

> **More involved way**
>
> First you’ll need to find the category slug of the top-level categories (Note: This is strictly for top-level categories. Sub-categories are a little different.)
> 
> For example, if we take the URL for the support category here on Meta: `https://meta.discourse.org/c/support`
> 
> The slug is whatever is after the `/c/`part of the URL. In this case it’s `support`. If your category has multiple words in it, it will have dashes like `questions-and-answers`
> 
> The CSS will be looking for a class that starts with `category-` and continues with the slug of the top-level category. So for the above examples, you would use `category-support` and `category-questions-and-answers`
> 
> So with that in mind, you can customize the following CSS to fit your needs, and add it to the Common CSS section of your theme:
> 
> ```css
> .category-forum,
> .category-support,
> .category-questions-and-answers {
> button#create-topic {
> display: none;
> }
> }
> 
> ```
> 
> You can add more to the top of the list, just be sure to include period at the beginning and the comma at the end.
> 
> If you’ve never worked with CSS, this might be a little confusing, so feel free to ask for any further clarification.

---

_[View the full topic](https://meta.discourse.org/t/hide-new-topic-on-top-level-categories/95513)._
