Hello, on mobile view my original price plus markdown price don’t fit in one line. I want to remove the sale text too. If the original price and markdown can’t fit in one line, how can I remove the original price and just keep the markdown?
Hello @katie99dreams
To fix this in the Sense theme, you have two options:
1.Force both prices to fit in one line by reducing font size or adjusting spacing.
2.Hide the original price when they don’t fit in one line.
Solution 1: Adjust font size & spacing
Try reducing the font size for price elements in your CSS. Add this to your theme’s base.css or theme.css file:
@media screen and (max-width: 768px) {
.price .price__sale {
font-size: 14px; /* Adjust as needed */
}
.price .price__regular {
font-size: 14px; /* Adjust as needed */
margin-right: 5px;
}
}
This helps fit both prices in one line.
Solution 2: Hide Original Price on Mobile
If the original price and markdown don’t fit, hide the original price on mobile and show only the markdown price. Add this to base.css or theme.css:
@media screen and (max-width: 768px) {
.price .price__regular {
display: none;
}
}
This hides the original price (crossed-out price) on mobile, showing only the markdown price.
To remove the “Sale” text, edit your product-price.liquid file:
1.Go to Online Store > Themes > Edit Code
2.Open Snippets > product-price.liquid
3.Find something like:
{{ 'products.product.on_sale' | t }}
4.Delete or comment out that section.
Thank you ![]()
You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.aio.min.css and add this code at the end of the file
.card__badge.bottom.left {
display: none !important;
}
.price--on-sale .price-item--regular {
display: none !important;
}
Step 3: Find this file and remove text “From”
Result
Best,
Daisy
Hello @katie99dreams
Go to online store ----> themes ----> actions ----> edit code ----> assets ----> component-card-aio-min.css
add this code at the end of the file and save.
.card__badge {
display: none !important;
}
s.price-item.price-item--regular {
display: none !important;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
Yes, its css for your website
Hi! How can I just remove the ‘from’? I want to keep everything else as is.
Hi! How can I just remove the ‘from’? I want to keep everything else as is.



