Title: Image without caption not centered
Last modified: June 12, 2017

---

# Image without caption not centered

 *  [iwilkerson](https://wordpress.org/support/users/iwilkerson/)
 * (@iwilkerson)
 * [9 years ago](https://wordpress.org/support/topic/image-without-caption-not-centered/)
 * Just converted to this theme, which I think is lovely, but have discovered one
   problem. When I have images that are (supposed to be) centered, but don’t have
   a caption, the are displaying aligned to the left margin. This isn’t the best
   look mixed with captioned images that are centered. As an example, see: [http://artofnaturalliving.com/2013/09/12/mini-crab-cake-appetizer/](http://artofnaturalliving.com/2013/09/12/mini-crab-cake-appetizer/)(
   last image)

Viewing 1 replies (of 1 total)

 *  Thread Starter [iwilkerson](https://wordpress.org/support/users/iwilkerson/)
 * (@iwilkerson)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/image-without-caption-not-centered/#post-9243089)
 * Okay, in case someone else is having this problem, added the following code to
   my child style.css:
 * .aligncenter,
    div.aligncenter { display: block; margin: 5px auto 5px auto; }
 * a img.aligncenter {
    display: block; margin-left: auto; margin-right: auto }

Viewing 1 replies (of 1 total)

The topic ‘Image without caption not centered’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/clean-retina/3.0.8/screenshot.
   png)
 * Clean Retina
 * [Support Threads](https://wordpress.org/support/theme/clean-retina/)
 * [Active Topics](https://wordpress.org/support/theme/clean-retina/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/clean-retina/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/clean-retina/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [iwilkerson](https://wordpress.org/support/users/iwilkerson/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/image-without-caption-not-centered/#post-9243089)
 * Status: not resolved