Title: Image Alignment
Last modified: April 7, 2020

---

# Image Alignment

 *  [stocktondenos](https://wordpress.org/support/users/stocktondenos/)
 * (@stocktondenos)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/image-alignment-45/)
 * I am trying to align some of the images on my page to the right with text wrapping.
   Super simple right? You just click your preference on the block and it automatically
   aligns it to where you want it. Well, it aligns correctly in the editor but when
   you go to the web page it aligns left. Always left. No matter what alignment 
   you choose in the block editor it always aligns left. I have done a couple of
   searches online and have tried copying in some different CSS codes and nothing
   has worked so far. Can anyone help me?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimage-alignment-45%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Milan Thapa](https://wordpress.org/support/users/rubick322/)
 * (@rubick322)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/image-alignment-45/#post-12643498)
 * Hi [@stocktondenos](https://wordpress.org/support/users/stocktondenos/),
 * The block editor CSS seems to be overwritten, to resolve this issue please add
   the following CSS:
 *     ```
       .wp-block-image .alignright {
           float: right !important;
       }
       ```
   
 * Help link [https://docs.themegrill.com/knowledgebase/where-do-i-add-my-custom-css/](https://docs.themegrill.com/knowledgebase/where-do-i-add-my-custom-css/)
 * If the issue still persist, please let us know.
 * Thanks and Regards,
    Milan
 *  Thread Starter [stocktondenos](https://wordpress.org/support/users/stocktondenos/)
 * (@stocktondenos)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/image-alignment-45/#post-12645992)
 * That worked! Thank you so much! I am still having the same issue images that 
   I choose to align center. I tried copying this CSS and changing it to say
 * .wp-block-image .aligncenter { float: center !important; }
 * That did not work. Any ideas?
 *  [Milan Thapa](https://wordpress.org/support/users/rubick322/)
 * (@rubick322)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/image-alignment-45/#post-12648650)
 * Hi [@stocktondenos](https://wordpress.org/support/users/stocktondenos/),
 * I gave a glance to your site using the URL you provided previously and I do see
   the image centered. Do you still in need for the solution or have you figured
   it out yourself, please let us know.
 * Thanks and Regards,
    Milan.
 *  Thread Starter [stocktondenos](https://wordpress.org/support/users/stocktondenos/)
 * (@stocktondenos)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/image-alignment-45/#post-12648695)
 * I was able to figure it out. Thank you for your help though!

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

The topic ‘Image Alignment’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/accelerate/1.5.4/screenshot.jpg)
 * Accelerate
 * [Support Threads](https://wordpress.org/support/theme/accelerate/)
 * [Active Topics](https://wordpress.org/support/theme/accelerate/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/accelerate/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/accelerate/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [stocktondenos](https://wordpress.org/support/users/stocktondenos/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/image-alignment-45/#post-12648695)
 * Status: not resolved