# Centering an image in shop front

**URL:** <https://forum.shopware.com/t/centering-an-image-in-shop-front/92589>\
**Category:** Shopware 6 (English)\
**Tags:** themes--design\
**Created:** [26. Januar 2022 um 09:05 UTC](https://forum.shopware.com/t/centering-an-image-in-shop-front/92589 "2022-01-26T09:05:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nihan.yurt](https://avatars.discourse-cdn.com/v4/letter/n/cdc98d/32.png) [@nihan.yurt](https://forum.shopware.com/u/nihan.yurt)\
**Post date:** [26. Januar 2022 um 09:05 UTC](https://forum.shopware.com/t/centering-an-image-in-shop-front/92589/1 "2022-01-26T09:05:25Z")

</div>

Hello,

When I add a image block in my shopping experience page, It can not get centered in frontpage.

Is there a css class to center an image ?

I am not a developer or programmer. So I need a direct css class to insert in block in layout page.

Thank you in advance for your support

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [29. Januar 2022 um 15:27 UTC](https://forum.shopware.com/t/centering-an-image-in-shop-front/92589/2 "2022-01-29T15:27:51Z")

</div>

> **[Flex](https://getbootstrap.com/docs/4.0/utilities/flex/)**
>
> Quickly manage the layout, alignment, and sizing of grid columns, navigation, components, and more with a full suite of responsive flexbox utilities. For more complex implementations, custom CSS may be necessary.

These are bootstrap css classes that should be available.
