How can I round product images to 10px in Empire theme?

Hello - I’m trying to round my product images on collection and product pages to 10px.

I’m using Empire theme.

Can anyone help?

1 Like

Hi @joemany911

Would you mind to share your Store URL website? with password if its protected. Thanks!

1 Like

Thanks for reply. www.dreamwoodliving.com

1 Like

Thank you for the information. Try this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.product-gallery--viewer.product-gallery--has-media {
    height: 500px !important;
}
.product-gallery--image-background img {
    object-fit: cover;
    height: 448px;
    border-radius: 10px;
}
div#shopify-section-template--20706702229795__ac3f035e-d371-460f-aa71-182dd0bf8c23 {
    padding-top: 10%;
}
.imagestyle--small .productitem--image, .imagestyle--cropped-small .productitem--image {
    padding-bottom: 66% !important;
    border-radius: 10px;
}

i hope it help.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

Perfect thank you.

1 Like

Just noticed it doesn’t work for mobile any solution to get rounded corners on mobile too?