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

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

threadfare
Tourist
11 0 10

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
1661 396 416

can you provide link your store?

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

threadfare
Tourist
11 0 10
theycallmemakka
Shopify Partner
1661 396 416

...........

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

theycallmemakka
Shopify Partner
1661 396 416

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

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

Dan-From-Ryviu
Shopify Partner
9148 1830 1865

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

- Helpful? Like and Accept solution! ‌Support me: Buy coffee
- Ryviu - Reviews & QA app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

threadfare
Tourist
11 0 10
Dan-From-Ryviu
Shopify Partner
9148 1830 1865

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 and Accept solution! ‌Support me: Buy coffee
- Ryviu - Reviews & QA app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

Made4uo-Ribe
Shopify Partner
7661 1842 2256

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!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.