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

threadfare
Tourist
6 0 4

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)
makkaomakka
Shopify Partner
886 173 183

can you provide link your store?

❤️❤️

Buy me a coffee


For quick response - Message Me


Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".

threadfare
Tourist
6 0 4
makkaomakka
Shopify Partner
886 173 183

...........

❤️❤️

Buy me a coffee


For quick response - Message Me


Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".

makkaomakka
Shopify Partner
886 173 183

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


Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".

Dan-From-Ryviu
Shopify Partner
5580 1025 1055

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

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

threadfare
Tourist
6 0 4
Dan-From-Ryviu
Shopify Partner
5580 1025 1055

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 a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

Made4uo-Ribe
Shopify Partner
4151 949 1157

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