# Hide description in subcategory boxes \[how edit css?\]

**URL:** https://meta.discourse.org/t/hide-description-in-subcategory-boxes-how-edit-css/278691
**Category:** Development
**Tags:** css
**Created:** [September 12, 2023, 9:32am UTC](https://meta.discourse.org/t/hide-description-in-subcategory-boxes-how-edit-css/278691 "2023-09-12T09:32:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![360Creators](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/360creators/32/325735_2.png) [@360Creators](https://meta.discourse.org/u/360Creators)
#### Post date: [September 12, 2023, 9:32am UTC](https://meta.discourse.org/t/hide-description-in-subcategory-boxes-how-edit-css/278691/1 "2023-09-12T09:32:33Z")

</div>

I read this post and it mentioned to customize the CSS. I just wonder: how to do this more specifically?

> [@Hide description in subcategory boxes](https://meta.discourse.org/t/hide-description-in-subcategory-boxes/270756):
>
> Is it possible to remove the description for the subcategory banners? In the example below, only “Clinical Leads” would be visible. I could use display:none, but the data is still loading. Thank you. [[image] ](https://global.discourse-cdn.com/meta/original/3X/0/f/0ff6042ccb8fbf69dfbdb9bbb55fb39477fad409.png)

I’m able to get this far:

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/c/a/2ca389d352025a5352ac94e52d10329e127437c7.jpeg)

And get to the code editor:

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/c/1/cc1e5ffd0fb98a04fa3c7164e670adb6147c923f.png)

But from there on..?

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [September 12, 2023, 9:49am UTC](https://meta.discourse.org/t/hide-description-in-subcategory-boxes-how-edit-css/278691/2 "2023-09-12T09:49:18Z")

</div>

Hi Ronald 🙂

Almost there!

Pay attention to the selector used you can see in your browser’s dev tools:

(on the right here)

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/d/0/4d0bc40800c31b36d8eac37a8635c967aab04fe8.png)

As `.description` alone can target unwanted elements, the proper selector is:  
`.category-boxes .description`.

The code then would be:

```scss
.category-boxes .description {
  display: none;
}

```

---

<div class="post-metadata">

### Author: ![360Creators](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/360creators/32/325735_2.png) [@360Creators](https://meta.discourse.org/u/360Creators)
#### Post date: [September 12, 2023, 10:04am UTC](https://meta.discourse.org/t/hide-description-in-subcategory-boxes-how-edit-css/278691/3 "2023-09-12T10:04:19Z")

</div>

Thank you very much! 😁

One little detail is the : should be ;, otherwise you get an error 😝

```plaintext
.category-boxes .description {
  display: none;
}

```

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [October 12, 2023, 10:05am UTC](https://meta.discourse.org/t/hide-description-in-subcategory-boxes-how-edit-css/278691/4 "2023-10-12T10:05:00Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
