Title: Image alignment issue
Last modified: November 13, 2020

---

# Image alignment issue

 *  Resolved [shaileshwar](https://wordpress.org/support/users/shaileshwar/)
 * (@shaileshwar)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/image-alignment-issue-4/)
 * Whenever I install SG optimizer plugin it align my images to left (default position).
   
   But I want to align them in centre which SG optimizer is not allowing. Solve 
   this issue.
    -  This topic was modified 5 years, 7 months ago by [shaileshwar](https://wordpress.org/support/users/shaileshwar/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimage-alignment-issue-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Stoyan Georgiev](https://wordpress.org/support/users/stoyangeorgiev/)
 * (@stoyangeorgiev)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/image-alignment-issue-4/#post-13657415)
 * Hello there [@shaileshwar](https://wordpress.org/support/users/shaileshwar/),
 * By the looks of it, all images on that page are center-aligned. Is there a specific
   optimization option that is shifting the images to the left? Could you provide
   steps to replicate the issue, please?
 * Kind Regards,
    Stoyan
 *  Thread Starter [shaileshwar](https://wordpress.org/support/users/shaileshwar/)
 * (@shaileshwar)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/image-alignment-issue-4/#post-13657846)
 * I have code it manually to align centre.
    Code:
 * .aligncenter {
    text-align: center; }
 * But by default, it is not working.
 *  Plugin Author [Stoyan Georgiev](https://wordpress.org/support/users/stoyangeorgiev/)
 * (@stoyangeorgiev)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/image-alignment-issue-4/#post-13667111)
 * Hey there [@shaileshwar](https://wordpress.org/support/users/shaileshwar/),
 * I had another look at your website, and at the moment the SG Optimizer is active
   and the images of your website are center-aligned. Also the custom CSS you have
   added for the .aligncenter class is set.
 * I am marking this as resolved since the images are appearing as you want them
   to be – centered.
 * Kind regards,
    Stoyan

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

The topic ‘Image alignment issue’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Stoyan Georgiev](https://wordpress.org/support/users/stoyangeorgiev/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/image-alignment-issue-4/#post-13667111)
 * Status: resolved