Center image in image widget

Hi,
I’ve searched this support site, but can’t seem to find a helpful thread. I can’t get an image (I’ve a .png file I’m trying to insert) to center in the image widget. There’s no center image option, which seems strange to me. Could you help me out and provide some Appearance - Customize - Additional CSS code to solve this please?

Thanks,
Dave

Hello Dave,

Try adding the below CSS code to Appearance > Customize > Additional CSS from dashboard.

    .widget_media_image img {
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

Regards,
Kharis

Kharis, your the man! Thanks for solving this for me

You’re welcome!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis