Solved

Add round corners to all pictures

tboudier
Tourist
20 0 1

Hi,

I would like to add round corners to all pictures on the website (all collections and products images).

How can I do that?

Here is the url of my website:

https://bangkokfirstaid.com

 

Many thanks for your help,

 

Accepted Solution (1)

Beae_Anthony
Shopify Partner
436 167 175

This is an accepted solution.

Hi @tboudier ,

This is Anthony from Beae Landing Page Builder, and I’m happy to assist you today.

 

While I acknowledge that this issue falls short of the desired outcome, I have an idea that I believe might be of help:

1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid file
3. Paste below code before </body>:

<style>
.product-item__image-wrapper--with-secondary .product-item__primary-image, .product-item__image-wrapper--with-secondary .product-item__secondary-image,
.collection-item__image-wrapper,
.product-gallery__size-limiter>div>img{
    border-radius: 15px !important
}
</style>

Beae_Anthony_0-1696159116692.png

 

Best regards,

Anthony

Beae - The NextGen Page Builder


- Was my answer helpful? Please hit Like or Mark it as solution!
- Get in touch with us: App Store | Blog

View solution in original post

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
5578 1342 1656

Hi @tboudier 

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:

 

div#shopify-section-16519091021d9a5d95 img,
div#shopify-section-1601000111613 img,
.collection-item__image-wrapper, 
.product-gallery__size-limiter img {
    border-radius: 20px;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1696153894723.png
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Beae_Anthony
Shopify Partner
436 167 175

This is an accepted solution.

Hi @tboudier ,

This is Anthony from Beae Landing Page Builder, and I’m happy to assist you today.

 

While I acknowledge that this issue falls short of the desired outcome, I have an idea that I believe might be of help:

1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid file
3. Paste below code before </body>:

<style>
.product-item__image-wrapper--with-secondary .product-item__primary-image, .product-item__image-wrapper--with-secondary .product-item__secondary-image,
.collection-item__image-wrapper,
.product-gallery__size-limiter>div>img{
    border-radius: 15px !important
}
</style>

Beae_Anthony_0-1696159116692.png

 

Best regards,

Anthony

Beae - The NextGen Page Builder


- Was my answer helpful? Please hit Like or Mark it as solution!
- Get in touch with us: App Store | Blog
tboudier
Tourist
20 0 1

It works perfectly for the products pictures.

May I ask you how to do the same with image with text sections?

Thank you so much!

PageFly-Richard
Shopify Partner
4241 960 1609

Hi @tboudier 

This is Richard from PageFly - Shopify Page Builder App, I’d like to suggest this idea:
Online Store ->Theme ->Edit code
Assets ->Theme.css

.product-gallery__size-limiter>div>img{
    border-radius: 15px !important
}

Hope you find my answer helpful!
Best regards,
Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

tboudier
Tourist
20 0 1

Hi @PageFly-Richard 

Thank you so much for your help.

I did it but unfortunately it did not work.

Any other idea?

Kind regards,

https://bangkokfirstaid.com/

Screen Shot 2566-10-04 at 12.05.21.png