# 在侧边栏中显示类别图标的功能

**URL:** <https://meta.discourse.org/t/ability-to-display-category-icons-in-sidebar/243629>\
**Category:** Product Support\
**Tags:** sidebar, category-icons\
**Created:** [2022 年11 月 1 日 15:58 UTC](https://meta.discourse.org/t/ability-to-display-category-icons-in-sidebar/243629 "2022-11-01T15:58:51Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![craigconstantine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/craigconstantine/32/511195_2.png) [@craigconstantine](https://meta.discourse.org/u/craigconstantine)\
发布日期： [2022 年11 月 1 日 15:58 UTC](https://meta.discourse.org/t/ability-to-display-category-icons-in-sidebar/243629/1 "2022-11-01T15:58:51Z")

</div>

这似乎在几个地方都有提到，但我找不到明确的答案——是否有解决方法，或者侧边栏或组件中是否有“即将推出”的提示，或者“不行”之类的回复……

我在我的 Discourse 托管站点上启用了实验性侧边栏。我的类别旁边会出现彩色方块。尤其值得注意的是，我没有看到我通过 [Category Icons 主题组件](https://meta.discourse.org/t/category-icons/104683) 配置的类别图标。

 ![Screen Shot 2022-10-31 at 18.41.41](https://global.discourse-cdn.com/meta/original/4X/6/9/d/69d6c8de33abe2a50ca3d372098ba87f8cdc01a9.png)

我的第一反应是，我将此站点的“类别样式”设置为“无”。我觉得在“无”的情况下，侧边栏不应该出现彩色方块。

……在我的截图中，您可以看到我为类别设置的图标。我觉得同样的图标应该出现在侧边栏中。

有什么想法吗？

---

_[View the full topic](https://meta.discourse.org/t/ability-to-display-category-icons-in-sidebar/243629)._
