Title: Chrome grid image size problem
Last modified: August 19, 2016

---

# Chrome grid image size problem

 *  [usermeister](https://wordpress.org/support/users/usermeister/)
 * (@usermeister)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/chrome-grid-image-size-problem/)
 * Grid images are completely deformed, height is completely stretched… [Here is an example](http://i.imgur.com/Zap4W.jpg)
 * I’ve tried
 *     ```
       .grid-image img {
       	height: 100%;
       }
       ```
   
 * and
 *     ```
       div.post-body p img,
       div.post-body p object {
       	max-width: 100%;
       	padding: 0;
       	height: 100%;
       }
       ```
   
 * but nothing helped.
    [This is how the page renders in firefox.](http://i.imgur.com/KofPc.jpg)
   How do I fix this?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [usermeister](https://wordpress.org/support/users/usermeister/)
 * (@usermeister)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/chrome-grid-image-size-problem/#post-1867606)
 * I kinda fixed it by setting .grid-image img to be fixed width and height in px,
   but I would like to have variable sized pictures in grid. If I figure it out 
   I’ll post it, and if someone else finds out, please contribute.
 *  [powerserge1](https://wordpress.org/support/users/powerserge1/)
 * (@powerserge1)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/chrome-grid-image-size-problem/#post-1867886)
 * Hi,
    i had a similar problem but it would resize my images disproportionately
   in a single post. My issue was not height, but was width. i used `img { max-width:
   100%; height: auto; }` in my Stylesheet (style.css) and placed it in the beginning
   of the /* ———- Grid Items, Single Item and Comments ———- */ section. This seems
   to work for me. For you perhaps, maintaining a max-height:100% would work. Good
   luck, sorry if this is too late.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Chrome grid image size problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [powerserge1](https://wordpress.org/support/users/powerserge1/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/chrome-grid-image-size-problem/#post-1867886)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
