# If Category Logo Image Too Wide - Hides content in 'Category' view

**URL:** <https://meta.discourse.org/t/if-category-logo-image-too-wide-hides-content-in-category-view/49933>\
**Category:** Product Support\
**Created:** [9 Settembre 2016, 2:06pm UTC](https://meta.discourse.org/t/if-category-logo-image-too-wide-hides-content-in-category-view/49933 "2016-09-09T14:06:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![JamesNorth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamesnorth/32/283740_2.png) [@JamesNorth](https://meta.discourse.org/u/JamesNorth)\
**Post date:** [11 Dicembre 2016, 12:24pm UTC](https://meta.discourse.org/t/if-category-logo-image-too-wide-hides-content-in-category-view/49933/4 "2016-12-11T12:24:30Z")

</div>

###Issue

Finding that if the image is too wide it breaks the Categories/Latest view on an iPad (and of course if the browser is shrunk as per the OP).

###Cause

So what happens is if the `Category Logo Image` that you upload is wider than 260px (_when it displays_) and the ratio of the image allows it to be over that, the Latest list wraps around to the bottom of the Categories list. This image is only being limited by height.

###Solution

The `Category Logo Image` is **only being limited by height** (`max-height: 150px;`), but if we limit it by width to `260px` as well, we allow the iPad to show the Latest column right next to the Categories column.

```
//max width for category images in Category/Latest View to prevent wrapping of Latest
.category-logo {
    max-width: 260px;
}

```

I’ve only concluded this magic value of `260px` on a regular iPad Air retina display - other tablets may need other values?

---

_[View the full topic](https://meta.discourse.org/t/if-category-logo-image-too-wide-hides-content-in-category-view/49933)._
