# Upgrade changed category image sizes

**URL:** <https://meta.discourse.org/t/upgrade-changed-category-image-sizes/103157>\
**Category:** Product Support\
**Created:** [November 30, 2018, 10:52am UTC](https://meta.discourse.org/t/upgrade-changed-category-image-sizes/103157 "2018-11-30T10:52:11Z")\
**Posts on this page:** 7\
**Page:** 1

## AI-generated summary

Following a recent upgrade, the category image width on a forum was limited to 45px, despite being previously set to 120px. [vinothkannans](/t/-/103157/3) suggested a CSS workaround to adjust the maximum width. The solution worked for [kaito](/t/-/103157/4). However, [vinothkannans](/t/-/103157/6) later clarified that the logo size change was unrelated to the issue. Ultimately, [sam](/t/-/103157/8) announced that the max width restriction has been removed, eliminating the need for adjustments.

<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:** [November 30, 2018, 10:52am 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:** [December 2, 2018, 5:11am UTC](https://meta.discourse.org/t/upgrade-changed-category-image-sizes/103157/2 "2018-12-02T05:11:04Z")

</div>

Split this topic on December 2, 2018, 5:11am UTC

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:** [November 30, 2018, 2:33pm 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:** [December 1, 2018, 1:32am 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:** [December 1, 2018, 2:35pm 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:** [December 3, 2018, 5:22am 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:** [January 2, 2019, 5:22am UTC](https://meta.discourse.org/t/upgrade-changed-category-image-sizes/103157/9 "2019-01-02T05:22:28Z")

</div>

Closed on January 2, 2019, 5:22am UTC

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