# Comment supprimer certaines sections de la barre latérale

**URL:** https://meta.discourse.org/t/how-to-delete-some-sections-from-the-sidebar/261887
**Category:** Support
**Created:** [Avril 16, 2023, 10:35 UTC](https://meta.discourse.org/t/how-to-delete-some-sections-from-the-sidebar/261887 "2023-04-16T22:35:32Z")
**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: [Avril 16, 2023, 10:55 UTC](https://meta.discourse.org/t/how-to-delete-some-sections-from-the-sidebar/261887/2 "2023-04-16T22:55:12Z")

</div>

quelles anciennes sections ? est-ce que quelque chose comme ceci fonctionne ?

CSS COMMUN

```scss
.sidebar-section[data-section-name="categories"] {
  display: none
}

```

il y a aussi ceci :

> [@sidebarMod: Add/Remove Sidebar Links and Sections](https://meta.discourse.org/t/sidebarmod-add-remove-sidebar-links-and-sections/261279):
>
> [sidebarMod](https://gist.github.com/ftc2/c2e23fab9cfd3ff14972972f459e9c4e) here’s [my script](https://gist.github.com/ftc2/c2e23fab9cfd3ff14972972f459e9c4e) for modding the sidebar (first mentioned in the [custom sidebar sections topic](https://meta.discourse.org/t/custom-sidebar-sections-being-tested-on-meta/255303)). it uses promises and MutationObserver to watch the sidebar for changes (e.g. from expanding or collapsing) and add/remove stuff in a performant way. i think i made it flexible enough for most use cases. you can add links (positioned by appending, prepending, or inserting before/after existing links), remove sections, remove links, and even remove ⋮More. it’s even possible to change th…

---

_[View the full topic](https://meta.discourse.org/t/how-to-delete-some-sections-from-the-sidebar/261887)._
