Title: Image width in blog post
Last modified: August 30, 2016

---

# Image width in blog post

 *  Resolved [maz-o](https://wordpress.org/support/users/maz-o/)
 * (@maz-o)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/image-width-in-blog-post/)
 * Hello again. First of all I want to say thanks for the tremendous level of support
   you give to your users 🙂
 * Then to my question: How do I make images in a post the same width as the text?
   By default the images get resized a little bit narrower than the text. Aesthetically
   for me it would work better if the images were “full width” of the post. I’m 
   talking about normal images that you just add to your posts in between the text.
 * Don’t know if this has to do with your theme or WordPress in general. Appreciate
   the help, thanks!

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

 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/image-width-in-blog-post/#post-6195888)
 * Thanks for the kind words 🙂
 * Try the following CSS:
 *     ```
       .alignnone, .aligncenter {
         margin: 1.5em auto;
       }
       ```
   
 * That will remove the margins on the left and right side of images that are aligned
   center or do not have an alignment center. Without the side margins they should
   line up with the content.
 *  Thread Starter [maz-o](https://wordpress.org/support/users/maz-o/)
 * (@maz-o)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/image-width-in-blog-post/#post-6195892)
 * Thanks but doesn’t quite work. It changes alignment to left instead of center,
   but the image is still resized to smaller than the content.
 * see example: [http://i.imgur.com/HKhl79o.png](http://i.imgur.com/HKhl79o.png)
 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/image-width-in-blog-post/#post-6195922)
 * Okay please try adding the following:
 *     ```
       .alignnone, .aligncenter {
         max-width: 100% !important;
       }
       ```
   
 *  [Erwin](https://wordpress.org/support/users/erwin-hidayat/)
 * (@erwin-hidayat)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/image-width-in-blog-post/#post-6196109)
 * Hi, Ben.
 * I have the same question as maz-o and tried both codes in child theme. However,
   all images still get resized a little bit narrower than the text. Any other option
   I can try? Thanks in advance. 🙂
 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/image-width-in-blog-post/#post-6196123)
 * Hey Erwin,
 * Could you share a link to an example?
 * One more thing to check first – make sure the image is wide enough to fill the
   post container.
 *  [Erwin](https://wordpress.org/support/users/erwin-hidayat/)
 * (@erwin-hidayat)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/image-width-in-blog-post/#post-6196185)
 * Ben, I was transferring to a new web server at the time I’m posting my question.
   Your solution above answers my question. You know what, all your responses to
   every thread are impressive. Thank you!
 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/image-width-in-blog-post/#post-6196186)
 * Thanks Erwin, glad it worked for you 🙂

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

The topic ‘Image width in blog post’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/tracks/1.81/screenshot.png)
 * Tracks
 * [Support Threads](https://wordpress.org/support/theme/tracks/)
 * [Active Topics](https://wordpress.org/support/theme/tracks/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/tracks/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/tracks/reviews/)

## Tags

 * [images](https://wordpress.org/support/topic-tag/images/)

 * 7 replies
 * 3 participants
 * Last reply from: [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/image-width-in-blog-post/#post-6196186)
 * Status: resolved