How to Center an Image Element

Hi there - We use Theme X.

We have an image element for which we arent able to get the image to center. We didnt use the parent column to set the image to center because that would center all elements under the column and thats not what we want. See screenshot of the structure we created. How can we center that image?

Thanks
TIm

Hello Tim,

Thanks for writing in!

You can set the left and right margins of your Image element to auto, and that would make it to the center.

If that does not work, in your Column element, you can enable the Flexbox setting and make sure that the Direction is “columns”.

If it still does not make the Image to the center, wrap it with a DIV element instead. We would love to see your layout and check your layout if you would allow us to log in. You can create a secure note in your next reply with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
– Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

image

Best Regards.