Title: centered alignment
Last modified: July 30, 2023

---

# centered alignment

 *  Resolved [New_WP](https://wordpress.org/support/users/baxter89/)
 * (@baxter89)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/centered-alignment/)
 * Hello,
   I use WordPress 6.2 and the Twenty Twenty-Three theme, when I add an image
   in Classic Editor in but articles, when I put my image in the center or on the
   right, it displays well on the admin side, and on the web side, l image always
   stays on the left.An ideaTHANK YOU

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

 *  Moderator [jordesign](https://wordpress.org/support/users/jordesign/)
 * (@jordesign)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/centered-alignment/#post-16933948)
 * Hi [@baxter89](https://wordpress.org/support/users/baxter89/) – I see what you
   mean. It looks like the alignment (when set in the Classic Editor) isn’t being
   respected in newer Block themes like TwentyTwentyThree and TwentyTwentyTwo.
 * I’m going to have to dig in a little further to see whether this is an issue 
   with the plugin, or with how those themes are set up.
 *  Moderator [jordesign](https://wordpress.org/support/users/jordesign/)
 * (@jordesign)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/centered-alignment/#post-16933952)
 * I see it has been reported as a known bug in the plugin – but I’ll still follow
   it up.
 * [https://github.com/WordPress/classic-editor/issues/169](https://github.com/WordPress/classic-editor/issues/169)
 *  Moderator [jordesign](https://wordpress.org/support/users/jordesign/)
 * (@jordesign)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/centered-alignment/#post-16937034)
 * Hey [@baxter89](https://wordpress.org/support/users/baxter89/) – following up
   on this – it does seem like this is something that would need to be addressed
   in the plugin itself – so that Github issue I mentioned above will be the best
   thing to keep an eye on.
 * In the meantime – you can try adding this CSS code to your site to get that alignment
   working.
 *     ```wp-block-code
       /* Center Align Images */
       img.aligncenter {
           clear: both;
           display: block;
           float: none;
           margin-right: auto;
           margin-left: auto;
           text-align: center;
       }
       ```
   
 * You can add that code following these instructions:
 * [https://wordpress.org/documentation/article/styles-overview/#applying-custom-css](https://wordpress.org/documentation/article/styles-overview/#applying-custom-css)
 *  Thread Starter [New_WP](https://wordpress.org/support/users/baxter89/)
 * (@baxter89)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/centered-alignment/#post-16937395)
 * I prefer to wait for the plugin update, it will be easier.
   Are you planning an
   update soon?Thank You
 *  Moderator [jordesign](https://wordpress.org/support/users/jordesign/)
 * (@jordesign)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/centered-alignment/#post-16937818)
 * Hey [@baxter89](https://wordpress.org/support/users/baxter89/) – I’m not actually
   a developer of the plugin (I just help out with answering support questions) 
   so I’m not able to speak on when that fix is something that would come.
 * You can definitely keep an eye on that Github Issue for progress – and if it 
   is taking a while, the CSS workaround is a good option.
 *  Thread Starter [New_WP](https://wordpress.org/support/users/baxter89/)
 * (@baxter89)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/centered-alignment/#post-16938130)
 * Ok Thanks for the information, the problem with the CSS code is that we can’t
   have images on the left and others centered, it will apply to everyone.
 *  Moderator [jordesign](https://wordpress.org/support/users/jordesign/)
 * (@jordesign)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/centered-alignment/#post-16939758)
 * Hey [@baxter89](https://wordpress.org/support/users/baxter89/) – that CSS code
   _should_ only affect images which have the center alignment set. When you tried
   using it – did it affect all images?

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

The topic ‘centered alignment’ is closed to new replies.

 * ![](https://ps.w.org/classic-editor/assets/icon-256x256.png?rev=1998671)
 * [Classic Editor](https://wordpress.org/plugins/classic-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/classic-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/classic-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/classic-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/classic-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/classic-editor/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [jordesign](https://wordpress.org/support/users/jordesign/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/centered-alignment/#post-16939758)
 * Status: resolved