# 升级更改了分类图片尺寸

**URL:** https://meta.discourse.org/t/upgrade-changed-category-image-sizes/103157
**Category:** Support
**Created:** [2018年十一月30日 10:52 UTC](https://meta.discourse.org/t/upgrade-changed-category-image-sizes/103157 "2018-11-30T10:52:11Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![kaito](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kaito](https://meta.discourse.org/u/kaito)
#### Post date: [2018年十一月30日 10:52 UTC](https://meta.discourse.org/t/upgrade-changed-category-image-sizes/103157/1 "2018-11-30T10:52:11Z")

</div>

Hi,

our forum has CSS setting and category logo was square(120px ×120px), but after latest upgrade, their width are limited to 45px.  
Can you help me?

Thank you.

 ![06](https://global.discourse-cdn.com/meta/original/3X/c/6/c6159dff1af3c8aad6cbb6b64a06cfe95fabc43f.png)

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [2018年十二月2日 05:11 UTC](https://meta.discourse.org/t/upgrade-changed-category-image-sizes/103157/2 "2018-12-02T05:11:04Z")

</div>

3 posts were split to a new topic: [Logo CSS issues after update](https://meta.discourse.org/t/logo-css-issues-after-update/103279)

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [2018年十一月30日 14:33 UTC](https://meta.discourse.org/t/upgrade-changed-category-image-sizes/103157/3 "2018-11-30T14:33:01Z")

</div>

It’s related to our recent change in category image’s maximum width. You could adjust it using below CSS. Currently it’s 25%

```css
@supports (--custom: property) {
  .category-logo.aspect-image {
    max-width: 100%;
  }
}

```

---

<div class="post-metadata">

### Author: ![kaito](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kaito](https://meta.discourse.org/u/kaito)
#### Post date: [2018年十二月1日 01:32 UTC](https://meta.discourse.org/t/upgrade-changed-category-image-sizes/103157/4 "2018-12-01T01:32:52Z")

</div>

> [@vinothkannans](#):
>
> @supports (–custom: property) { .category-logo.aspect-image { max-width: 100%; } }

It works! Thank you.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [2018年十二月1日 14:35 UTC](https://meta.discourse.org/t/upgrade-changed-category-image-sizes/103157/6 "2018-12-01T14:35:45Z")

</div>

Logo size change is not related to this issue.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2018年十二月3日 05:22 UTC](https://meta.discourse.org/t/upgrade-changed-category-image-sizes/103157/8 "2018-12-03T05:22:21Z")

</div>

Adjusting should be no longer needed, we removed the new max width restriction on the image.

---

<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: [2019年一月2日 05:22 UTC](https://meta.discourse.org/t/upgrade-changed-category-image-sizes/103157/9 "2019-01-02T05:22:28Z")

</div>

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