# 更改类别的外观

**URL:** <https://meta.discourse.org/t/changing-the-appearance-of-categories/362621>\
**Category:** Support\
**Created:** [2025年四月19日 14:57 UTC](https://meta.discourse.org/t/changing-the-appearance-of-categories/362621 "2025-04-19T14:57:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![szogun](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/szogun/32/487466_2.png) [@szogun](https://meta.discourse.org/u/szogun)\
**Post date:** [2025年四月19日 14:57 UTC](https://meta.discourse.org/t/changing-the-appearance-of-categories/362621/1 "2025-04-19T14:57:14Z")

</div>

嘿，我该如何获得这个类别？

 ![图片描绘了一个图表，顶部有一个标有“Kat id 5”的长方形，以及一排三个相邻的长方形框，分别标有“kat id 6”、“kat id 7”和“kat id 8”。（由 AI 题注）](https://global.discourse-cdn.com/meta/original/4X/a/e/8/ae8589a60722049a452e5706da5042e385d60f69.png)

---

<div class="post-metadata">

**Author:** ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)\
**Post date:** [2025年四月19日 15:10 UTC](https://meta.discourse.org/t/changing-the-appearance-of-categories/362621/3 "2025-04-19T15:10:34Z")

</div>

你是这个意思吗？

> [@How can I display subcategories in such boxes if a main category is selected?](https://meta.discourse.org/t/how-can-i-display-subcategories-in-such-boxes-if-a-main-category-is-selected/358488/3?u=ondrej):
>

---

<div class="post-metadata">

**Author:** ![szogun](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/szogun/32/487466_2.png) [@szogun](https://meta.discourse.org/u/szogun)\
**Post date:** [2025年四月19日 17:47 UTC](https://meta.discourse.org/t/changing-the-appearance-of-categories/362621/4 "2025-04-19T17:47:05Z")

</div>

抱歉，这并不是我想要的，我希望例如ID为5的类别占据页面的整个宽度，并且在其下方放置ID为6、7、8的类别。

---

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [2025年四月19日 22:19 UTC](https://meta.discourse.org/t/changing-the-appearance-of-categories/362621/5 "2025-04-19T22:19:27Z")

</div>

你是说像这样吗？只是一个关于元数据的随机示例：

 ![此图像是一个水平条形图，将各种主题分为“常规”、“文档”、“社区维基”、“错误”、“支持”、“用户体验”和“功能”等部分，其中像 WordPress、开发者和公告这样的特定主题按月计算新文章，以及按月计算未读文章的数量。（由 AI 标注）](https://global.discourse-cdn.com/meta/original/4X/e/f/e/efed414500482bfbaa8a01a49889195d0b900b12.png)

---

<div class="post-metadata">

**Author:** ![szogun](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/szogun/32/487466_2.png) [@szogun](https://meta.discourse.org/u/szogun)\
**Post date:** [2025年四月19日 23:31 UTC](https://meta.discourse.org/t/changing-the-appearance-of-categories/362621/6 "2025-04-19T23:31:42Z")

</div>

与此类似的东西

---

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [2025年四月19日 23:56 UTC](https://meta.discourse.org/t/changing-the-appearance-of-categories/362621/7 "2025-04-19T23:56:51Z")

</div>

您可以通过一些 CSS 来实现。您正在使用特定的主题吗？如果您能分享您的论坛 URL，那将会有所帮助！（或者通过私信也可以）

---

<div class="post-metadata">

**Author:** ![szogun](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/szogun/32/487466_2.png) [@szogun](https://meta.discourse.org/u/szogun)\
**Post date:** [2025年四月20日 00:10 UTC](https://meta.discourse.org/t/changing-the-appearance-of-categories/362621/8 "2025-04-20T00:10:31Z")

</div>

我已通过使用类别组来分组类别实现了类似的效果，感谢您的帮助。

---

<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:** [2025年五月20日 00:11 UTC](https://meta.discourse.org/t/changing-the-appearance-of-categories/362621/9 "2025-05-20T00:11:27Z")

</div>

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