How can i change the position from the red badge.
I want that the badge is in 2 lines otherwise its not possible to display the whole text. And it should be directly on top of the product picture not 2mm under it.
Anyone advice ?
Mobile badge styling in Dawn theme: the sale badge sat slightly below the product image and its text overflowed on mobile; the requester wanted it flush at the top of the image and to allow two lines.
Resolution: a helper provided custom code to add in theme.liquid (above ), which repositioned and styled the badge as desired. The requester confirmed it worked; a screenshot illustrated the result.
Followâups:
Open item: the requester asked if itâs possible to add a second line under the product title (perâproduct, to insert different details). No solution provided yet.
Status: initial mobile badge positioning/line-break issue resolved; text localization and multiâbadge considerations noted; new request for a second perâproduct line remains unanswered.
How can i change the position from the red badge.
I want that the badge is in 2 lines otherwise its not possible to display the whole text. And it should be directly on top of the product picture not 2mm under it.
Anyone advice ?
do you have the preview link?
https://www.senttense.com/collections/frauendufte-auto-parfum But its only in the Mobile Design the Problem
Hey @senttense
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, donât forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thank you it works. ![]()
Thank you for your reply. Iâm glad to hear that the solution worked well for you. If you require any more help, please donât hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
Can you tell me how can i change the Text from
Ersparnis zum Markenduft 85,00⏠to
Spare 85,00âŹ
Try searching for it in Edit Default Content by clicking on the 3 dots when you click on Online Store.
Best Regards,
Moeed
I recommend following as it considers both a sale badge and another badge like âsold outâ and also some style for the space you mentioned.