How to Change Badge/Sticker size and shape in Responsive Theme

threadfare
Tourist
8 0 5

I have been searching endlessly to no avail. I would like to change the shape of the "SALE" and "NEW" product stickers (or badges) in my theme. It is currently a rectangle and I would like to change it to a circle shape. No other resolved query with suggested code has worked.

Replies 8 (8)

theycallmemakka
Shopify Partner
1158 249 269

can you provide link your store?

❤️❤️

Buy me a coffee


For quick response - Message Me


For easy store customization, try PageFly
Add Winter vibe to your store
threadfare
Tourist
8 0 5
theycallmemakka
Shopify Partner
1158 249 269

...........

❤️❤️

Buy me a coffee


For quick response - Message Me


For easy store customization, try PageFly
Add Winter vibe to your store
theycallmemakka
Shopify Partner
1158 249 269

Hi @threadfare ,

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code just above </head> tag

 

<style>

.sale_banner, .new_banner {
height: 80px!important;
width: 80px!important;
border-radius: 50%!important;
padding: 0px!important;
display: flex!important;
align-items: center!important;
justify-content: center!important;
}

</style>
 

 

Result:

makkaomakka_0-1698856393331.png

 

 

If you require further help to optimize your store, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
Makka

❤️❤️

Buy me a coffee


For quick response - Message Me


For easy store customization, try PageFly
Add Winter vibe to your store

Dan-From-Ryviu
Shopify Partner
7011 1325 1351

Hi @threadfare Could you drop your store link so I can provide the code?

- Helpful? Like or Accept solution, - Coffee Tips or Paypal Tips
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 1 month of Shopify for $1. Sign up now

threadfare
Tourist
8 0 5
Dan-From-Ryviu
Shopify Partner
7011 1325 1351

Hi @threadfare 

Please go to your Online store > Themes > Edit code > open style.css or style.css.liquid file, add this code at the bottom 

.sale_banner, .new_banner {
border-radius: 50%;
}

Screenshot_4.jpg

- Helpful? Like or Accept solution, - Coffee Tips or Paypal Tips
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 1 month of Shopify for $1. Sign up now

Made4uo-Ribe
Shopify Partner
5126 1222 1496

Hi @threadfare 

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:

 

.sale_banner, .new_banner {
    border-radius: 100% !important;
    padding: 12px 10px 10px 10px;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1698857854025.png

     

 

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

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