# So entfernen Sie das Schloss-Symbol in privaten Kategorien

**URL:** <https://meta.discourse.org/t/how-to-remove-the-lock-icon-in-private-categories/99919>\
**Category:** Support\
**Created:** [18. Oktober 2018 um 20:49 UTC](https://meta.discourse.org/t/how-to-remove-the-lock-icon-in-private-categories/99919 "2018-10-18T20:49:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)\
**Post date:** [18. Oktober 2018 um 22:37 UTC](https://meta.discourse.org/t/how-to-remove-the-lock-icon-in-private-categories/99919/2 "2018-10-18T22:37:50Z")

</div>

Nope because the `lock` icon is used for other elements, eg. when you close a topic:

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/f/6f691e1e8eed74522baa7edef25d4dc2f2eea8dc.png)

In your case you need to target very specific elements, so you need to use the good old CSS instead of change the icon globally through the APIs.

Something like this should work:

```
.category .badge-category.clear-badge.restricted .d-icon-lock, 
.badge-category.clear-badge.restricted .d-icon-lock,
.category-list .category-text-title .d-icon-lock {
    display:none;
}

```

---

_[View the full topic](https://meta.discourse.org/t/how-to-remove-the-lock-icon-in-private-categories/99919)._
