# How to split the categories into sections with titles?

**URL:** <https://meta.discourse.org/t/how-to-split-the-categories-into-sections-with-titles/199494>\
**Category:** Development\
**Created:** [August 6, 2021, 10:02pm UTC](https://meta.discourse.org/t/how-to-split-the-categories-into-sections-with-titles/199494 "2021-08-06T22:02:28Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)\
**Post date:** [March 14, 2023, 1:03pm UTC](https://meta.discourse.org/t/how-to-split-the-categories-into-sections-with-titles/199494/4 "2023-03-14T13:03:38Z")

</div>

> [@manuel](#):
>
> ```plaintext
> body [data-category-id="1"]:before {
> content: "Projects";
> }
> 
> ```

You just need to be more specific with your style declaration. The code snippet declares styles anywhere on the body element. To change that, inspect the element you want to adjust with your browser tools and replace `body` with a more specific declaration, e.g:

```plaintext
#main-outlet .category-list {
  [data-category-id="1"]:before {
     content: "Projects";
  }
}

```

---

_[View the full topic](https://meta.discourse.org/t/how-to-split-the-categories-into-sections-with-titles/199494)._
