To center an image in a widget area, follow these steps:

  1. Navigate to Customizer > Widgets to add the widget (the option we’ll be using are not available on the widget screen under WP Admin > Appearance > Widgets).
  2. Add a Text Widget – unlike an Image Widget, it has additional options for image alignment.
  3. Click the Add Media button to open the Media Library:
  1. Select your image from the Media Library, or upload a new one.
  2. Once the image appears in the Text Widget, click it to see the alignment options; pick the centered alignment:
  1. If desired, you can also add a link to your image by clicking the Link (chain) icon in the Text Widget editor options.
  2. Click Publish.