# Verberg een deel van de zijbalk voor anonieme gebruikers

**URL:** <https://meta.discourse.org/t/hide-a-section-of-the-sidebar-for-anon/267019>\
**Category:** Development\
**Tags:** sidebar\
**Created:** [1 juni 2023 om 18:04 UTC](https://meta.discourse.org/t/hide-a-section-of-the-sidebar-for-anon/267019 "2023-06-01T18:04:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [1 juni 2023 om 18:15 UTC](https://meta.discourse.org/t/hide-a-section-of-the-sidebar-for-anon/267019/2 "2023-06-01T18:15:12Z")

</div>

> [@Ayelen\_Rives](#):
>
> ```plaintext
> .anon div.sidebar-section-community {
> display: none;
> }
> 
> ```

here you go:

common css

```scss
// * hide the Community section in side-bar from anon users*

.anon .sidebar-section-wrapper.sidebar-section[data-section-name="community"] {
    display: none;
}

```

should be able to do the same for any other sections you want to hide from anon users.

edit: i fixed a space before “none”

* * *

btw, as an aside, if you want to hide all the lock badges on the secured category bullets in the side-bar, you can do this:

```scss
// * turn off the lock icon for all secure categories in the sidebar *

.sidebar-section-link-wrapper .sidebar-section-link-prefix.icon .prefix-badge, .sidebar-section-link-wrapper .sidebar-section-link-prefix.span .prefix-badge {
   display: none;
}

```

---

_[View the full topic](https://meta.discourse.org/t/hide-a-section-of-the-sidebar-for-anon/267019)._
