Centering images

Hi I feel really dumb, but when using the standard Image block, is there a way of centering the image?

It depends more on your theme than anything else.

Many themes provide a block template or a utility class for centering an image. You would usually add such a class using the block design menu.

Otherwise, you could create your own class and in that setting the width of the div block design wraps with to 100% , then for the contained image set margin-left and margin-right to auto.

1 Like