Hi there,
can anyone help me out with some code to fit in the sales label (renamed to premium) on mobile device? I want to have it upper left above to be sure that my product is display perfectly.
store:www.lepuffcases.nl
Hi there,
can anyone help me out with some code to fit in the sales label (renamed to premium) on mobile device? I want to have it upper left above to be sure that my product is display perfectly.
store:www.lepuffcases.nl
Hello @lepuffcases
Go to online store ---------> themes --------------> actions ------> edit code------->base.css
at the end of the file and save.
@media screen and (max-width: 749px) {
.badge {
font-size: 9px;
padding: .5rem 0.3rem .5rem;
}
.card__badge.top {
margin: -23px !important;
}
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
@lepuffcases ,
Step 1: Go to Admin β Online store β Theme > Edit code:
Step 2: Search for the file theme.liquid. And add this code before
Result:
Please press βLikeβ and mark it as βSolutionβ if you find it helpful. Thank you.
It works! is there still a possibility to change the frame from straight to round?
I forgot to mention that I also want make the adjusment for the desktop version. Could you help me out?