Re: 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 13

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
1786 435 462

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 13
theycallmemakka
Shopify Partner
1786 435 462

...........

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

theycallmemakka
Shopify Partner
1786 435 462

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
10890 2145 2282

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

- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: 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 13
Dan-From-Ryviu
Shopify Partner
10890 2145 2282

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

- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: 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
9854 2344 2941

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.