How can I resize the sale badge on my Envy theme website?

The sale badge on our current website is too big on mobile and looks funky, would love to be able to decrease it but just don’t know how to. Any help would be appreciated :slightly_smiling_face:

Website: www.wearthepeace.com

hi @MuradNofal ,

if you want adjust on the mobile about sale badge, this is solve to you.

@media screen and (max-width: 760px){

.sale-badge, .sold-out-badge{

font-size: 13px;

line-height: 13px;

padding:7px 12px;

}

}

you can copy short code above to /assets/custom.css
Hope will helpful to you!

1 Like

@MuradNofal
if you want adjust on the mobile about sale badge, this is solve to you.

@media screen and (max-width: 760px){

.sale-badge { padding:7px 12px; }

}

you can copy short code above to /assets/custom.css
Hope will helpful to you!

1 Like

Hello @MuradNofal , Please try this code.

@media screen and (max-width: 760px){
    .sale-badge, .sold-out-badge {
		padding: 6px 12px;
	}
}

Add this CSS at the bottom of Online Store->Theme->Edit code->Assets->custom.css.liquid

1 Like

Thank you for your help!

Thank you for your help!