# Alleen subcategoriekleur in icoon tonen?

**URL:** https://meta.discourse.org/t/only-show-sub-category-color-in-icon/209456
**Category:** Support
**Created:** [17 november 2021 om 21:11 UTC](https://meta.discourse.org/t/only-show-sub-category-color-in-icon/209456 "2021-11-17T21:11:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![orangeandblack5](https://avatars.discourse-cdn.com/v4/letter/o/edb3f5/32.png) [@orangeandblack5](https://meta.discourse.org/u/orangeandblack5)
#### Post date: [17 november 2021 om 21:11 UTC](https://meta.discourse.org/t/only-show-sub-category-color-in-icon/209456/1 "2021-11-17T21:11:35Z")

</div>

Did a bit of digging so sorry if I missed this somewhere in my searches, but is there any easy way to prevent the category color from showing next to the sub-category color?

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

Would be ideal to have just one color rather than the two-tone split - the colors all look great on their own, but not so much when next to the category’s green.

---

<div class="post-metadata">

### Author: ![orangeandblack5](https://avatars.discourse-cdn.com/v4/letter/o/edb3f5/32.png) [@orangeandblack5](https://meta.discourse.org/u/orangeandblack5)
#### Post date: [18 november 2021 om 02:44 UTC](https://meta.discourse.org/t/only-show-sub-category-color-in-icon/209456/2 "2021-11-18T02:44:11Z")

</div>

Gonna run this live as soon as our owner is online again, but I think this should do what we want:

```plaintext
.badge-wrapper.bullet .badge-category-parent-bg {
    width: 0px;
    margin-right: 0;
}

.badge-wrapper.bullet .badge-category-parent-bg + .badge-category-bg {
    width: 9px;
}

```

---

<div class="post-metadata">

### Author: ![osioke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osioke/32/238946_2.png) [@osioke](https://meta.discourse.org/u/osioke)
#### Post date: [18 november 2021 om 11:10 UTC](https://meta.discourse.org/t/only-show-sub-category-color-in-icon/209456/3 "2021-11-18T11:10:14Z")

</div>


