Title: Max-width problem
Last modified: August 22, 2016

---

# Max-width problem

 *  Resolved [Nichlas](https://wordpress.org/support/users/itsnwa/)
 * (@itsnwa)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/max-width-problem/)
 * Why doesn’t the images on the main site go up to my max-width=”1280px”?
    [itsnwa.com](http://itsnwa.com)
   If you click on the title of the project, the size will increase to it’s oringnal
   size..
 * Anyone?

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/max-width-problem/#post-5364058)
 * due to padding etc applied for instance to the `.inner` container;
 * for example, you are using `.work` as CSS class in the body tag and the post 
   div;
 * possibly change the one style to:
 *     ```
       /* post */
       .work {
       	margin-top: 30px;
       	margin-bottom: 80px;
       }
       .work .work {
       	max-width: 1280px;
       }
       ```
   
 *  Thread Starter [Nichlas](https://wordpress.org/support/users/itsnwa/)
 * (@itsnwa)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/max-width-problem/#post-5364067)
 * That actually work well! But I think I might have to add another max-width: 1280px;
   somewhere, because as you can see now, the single-post view is going 100% without
   any limit.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/max-width-problem/#post-5364076)
 * try to add:
 * `.single .work { max-width: 1280px; }`
 * try working with a browser isnpection tool to investigate the formatting of the
   image.
 *  Thread Starter [Nichlas](https://wordpress.org/support/users/itsnwa/)
 * (@itsnwa)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/max-width-problem/#post-5364080)
 * Perfect! Thank you so much for all your help alchymyth!
 *  Thread Starter [Nichlas](https://wordpress.org/support/users/itsnwa/)
 * (@itsnwa)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/max-width-problem/#post-5364082)
 * Signing off.

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

The topic ‘Max-width problem’ is closed to new replies.

## Tags

 * [img](https://wordpress.org/support/topic-tag/img/)
 * [layout](https://wordpress.org/support/topic-tag/layout/)
 * [margin](https://wordpress.org/support/topic-tag/margin/)
 * [max-width](https://wordpress.org/support/topic-tag/max-width/)
 * [padding](https://wordpress.org/support/topic-tag/padding/)
 * [picture/](https://wordpress.org/support/topic-tag/picture/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)
 * [size](https://wordpress.org/support/topic-tag/size/)

 * 5 replies
 * 2 participants
 * Last reply from: [Nichlas](https://wordpress.org/support/users/itsnwa/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/max-width-problem/#post-5364082)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
