# Icons work for all but one category

**URL:** https://meta.discourse.org/t/icons-work-for-all-but-one-category/277723
**Category:** Support
**Tags:** category-icons
**Created:** [November 30, 2022, 10:47am UTC](https://meta.discourse.org/t/icons-work-for-all-but-one-category/277723 "2022-11-30T10:47:39Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Roi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roi/32/130587_2.png) [@Roi](https://meta.discourse.org/u/Roi)
#### Post date: [November 30, 2022, 10:47am UTC](https://meta.discourse.org/t/icons-work-for-all-but-one-category/277723/1 "2022-11-30T10:47:39Z")

</div>

Hello,

great component, thank you so much for it. I implemented it and it works on any category for me - [except one](https://forum.gdngs.de/c/grillen/andere-grillseiten/23)… I put in the correct slug, partial and exact. No icon. Hm.

Any idea?

Regards,  
Roi

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [December 29, 2022, 8:02pm UTC](https://meta.discourse.org/t/icons-work-for-all-but-one-category/277723/2 "2022-12-29T20:02:20Z")

</div>

> [@Roi](#):
>
> great component, thank you so much for it. I implemented it and it works on any category for me - [except one](https://forum.gdngs.de/c/grillen/andere-grillseiten/23)… I put in the correct slug, partial and exact. No icon. Hm.

I think there are some bugs with matching. I have a category `commblog`, and I could not assign an icon to a `commblog-review` category. I ended up working around it by calling it `community-blog-review` instead. (The `match` / `partial` config didn’t seem to help, but maybe I was doing that wrong.)

Honestly, ideally, instead of the kind of klunky table-based config, it’d be really nice if this could be set on the actual config page for each category. I understand that’s probably not possible (or at least, not easy!) with a theme component, though.

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [December 29, 2022, 8:10pm UTC](https://meta.discourse.org/t/icons-work-for-all-but-one-category/277723/3 "2022-12-29T20:10:57Z")

</div>

> [@mattdm](#):
>
> I understand that’s probably not possible (or at least, not easy!) with a theme component, though.

That is indeed not possible with a theme component. However, it’s in our plans to add icon support to tags and categories in core in the near future, quite possibly some time in 2023.

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [December 29, 2022, 8:34pm UTC](https://meta.discourse.org/t/icons-work-for-all-but-one-category/277723/4 "2022-12-29T20:34:26Z")

</div>

> [@pmusaraj](#):
>
> That is indeed not possible with a theme component. However, it’s in our plans to add icon support to tags and categories in core in the near future, quite possibly some time in 2023.

That’s excellent — I’m looking forward to it. Hopefully this will also resolve my long-standing sadness about category color configuration, too. 🙂

---

<div class="post-metadata">

### Author: ![Roi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roi/32/130587_2.png) [@Roi](https://meta.discourse.org/u/Roi)
#### Post date: [January 3, 2023, 10:34pm UTC](https://meta.discourse.org/t/icons-work-for-all-but-one-category/277723/5 "2023-01-03T22:34:10Z")

</div>

> [@mattdm](#):
>
> I think there are some bugs with matching. I have a category `commblog`, and I could not assign an icon to a `commblog-review` category. I ended up working around it by calling it `community-blog-review` instead. (The `match` / `partial` config didn’t seem to help, but maybe I was doing that wrong.)

I did some renaming here but I was not able to get an icon for [this one category](https://forum.gdngs.de/c/grillen/grillseiten-im-web/23).

It is not really an important issue, but it is strange. And I ran out of ideas here. 😉
