center image

Hi guys,

Can anyone help me? Im trying to center the image but i cant seem to get it centered:

Store: https://uncutgemsnl.myshopify.com/

PW: shaupu

Thanks in advance!

Hi @uncutgemsnl ,

Please use the below code into the custom liquid or custom HTML which ever you are using :

Thanks

Hi thanks for your fast reply!

Unfortunately its not working. It seems nothing happens.

Hey @uncutgemsnl

Just simply add this CSS in the Custom CSS option of your section from theme custimzation.

.image-with-text__text-item.grid__item {
    display: none !important;
}

RESULT:

If I managed to help then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Hi @uncutgemsnl ,

Please follow the Below Steps (This is for Custom Liquid):-

Go to:
Shopify Admin → Online Store → Themes → Customize

Go to Homepage and click “Add section” → “Custom Liquid” (or edit the one where your image is already added).

Replace or paste this code inside the Custom Liquid block:

If this doesn’t work Use the below method :

Go to Online Store > Themes > Edit code
2. Open base.css or theme.css in the Assets folder
3. Add this at the bottom:

.image-banner

{
text-align: center;
}

.image-banner img

{
margin: 0 auto;
display: block;
}

Thanks !