How do I center all images on the warehouse theme?

Hi when adding images to new pages I’m creating or amending such as the ‘about’ page I’ve tried everything to center the images but they keep going left aligned?

Does anyone know how to fix this?

Website is www.sshhmute.com

1 Like

@ajane

oh sorry for that issue you have manage this shopify page admin edit so this doesn’t allow to more html change can you please create new template and set your about page easy to add all section like home page

Sorry I’m confused would you like me to create a new blank template to set the about page to?

Is there some code that I could add to the theme.css file so that by default all images are centered?

Hi @Ajane

This is PageFly - Advanced Page Builder. I would love to give you some recommendations

-Go to Online Store->Theme->Edit code

-Asset-> theme.css paste the below code at the bottom of the file.

img{

margin-left:auto !important;

margin-right:auto !important

}

Best Regards;

PageFly

Hi @ajane ,

please use below CSS to achieve desired result.

.rte img{margin-left:auto !important;margin-right:auto !important;}