Shopify themes, liquid, logos, and UX
I am on Dawn 15 theme and I would like to change the layout of the price to display ON SALE price followed by WAS Price (original price) on the product page. Can you help me by providing instructions on where this can be changed and how?
https://www.artey.com.au/products/rubi
Hi @Artey,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
.price__sale {
display: flex !important;
flex-direction: column !important;
}
span:has(.price-item.price-item--regular) {
order: 2;
}
span.price-item.price-item--sale.price-item--last {
order: 1;
}
</style>
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Hello. Thank you for the initial response. What about for changing the words used? I want to change the word "From" to "Was". I also want to add the words ON SALE and make it BOLD and bigger than the from price.
Thank you.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024