how can i add round edges to the sale advertised red box on product pictures on home page and then also on product page i think they are the same.
current theme: Palo Alto 4.5
here is the code i need to add it to i believe: Snippets>product.liquid

A Shopify store owner using the Palo Alto 4.5 theme wanted to add rounded corners to sale badge boxes appearing on product images.
Initial Problem:
Solution Process:
.product__price--off with border-radius: 50px.product__unit-price.product__price--off.products.product.save.products.product.unit_price_labelResolution:
The issue was resolved when the user discovered a built-in theme setting that rounded all badge elements automatically, eliminating the need for custom CSS. The discussion is marked complete.
how can i add round edges to the sale advertised red box on product pictures on home page and then also on product page i think they are the same.
current theme: Palo Alto 4.5
here is the code i need to add it to i believe: Snippets>product.liquid

Hi @jamesdemongin
Thank you for your question.
Please share your store URL, page URL and also password (if your store has one) so we can help you.
Acpcovers.com
No password needed
You can try to add this code into the bottom of the file theme.css
.product__price--off {
border-radius: 50px;
}
So I played around with it and got the red one to round. I used what you
told me but hat to plug in a few.
.product__unit-price { border-radius: 50px; }
.product__price–off { border-radius: 50px; }
.products.product.save { border-radius: 50px; }
.products.product.unit_price_label { border-radius: 50px; }
.product__price–unit { border-radius: 50px; }
Now if I only can get the blue sale square to round. I’m thinking maybe it
not .product because the blue square is only showing on product pictures on
home page not on product pages.
Thank you for the help and code you posted before.
.product__badge {
border-radius: 50px;
overflow: hidden;
}
I didn’t try this code found a built in box that rounded everything in the theme. Thank you for the help. Consider this complete ![]()