# 类别图标大小和链接类别

**URL:** <https://meta.discourse.org/t/category-icon-sizes-link-categories/211777>\
**Category:** Support\
**Created:** [2021年十二月10日 21:47 UTC](https://meta.discourse.org/t/category-icon-sizes-link-categories/211777 "2021-12-10T21:47:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Heather\_Lloyd](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heather_lloyd/32/187391_2.png) [@Heather\_Lloyd](https://meta.discourse.org/u/Heather_Lloyd)\
**Post date:** [2021年十二月10日 21:47 UTC](https://meta.discourse.org/t/category-icon-sizes-link-categories/211777/1 "2021-12-10T21:47:26Z")

</div>

您好。

我正在寻找关于如何更改类别图标大小的指导，当选择“类别和最新主题”作为类别视图时。我希望它们的大小约为现在的 50%。例如：

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/5/258b54fbdf61b838306c9dbce22aebd1f608d093.png)

我还想知道是否可以设置重定向类别，以便将点击类别的用户重定向到网站主页。这是否仍然适用？[Redirect Category to External URL](https://meta.discourse.org/t/redirect-category-to-external-url/85691)

谢谢！

---

<div class="post-metadata">

**Author:** ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)\
**Post date:** [2021年十二月10日 22:39 UTC](https://meta.discourse.org/t/category-icon-sizes-link-categories/211777/2 "2021-12-10T22:39:15Z")

</div>

对于您帖子的 CSS 部分

我在我参与的一个论坛上使用了这个：

```css
.category-logo.aspect-image {
    max-width: 80px;
}

```

更改数字直到您对调整大小满意为止。

---

<div class="post-metadata">

**Author:** ![Heather\_Lloyd](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heather_lloyd/32/187391_2.png) [@Heather\_Lloyd](https://meta.discourse.org/u/Heather_Lloyd)\
**Post date:** [2021年十二月10日 22:47 UTC](https://meta.discourse.org/t/category-icon-sizes-link-categories/211777/3 "2021-12-10T22:47:25Z")

</div>

非常感谢！这太完美了。
