[Solved] Centering featured image in WordPress [closed]


Add this rule to your CSS:

.page-header-image.grid-parent {
  text-align: center;
}

This element contains the image and has full width: Since the image is an inline element, text-align: center; will center it inside its container.

2

solved Centering featured image in WordPress [closed]