Shopify themes, liquid, logos, and UX
Hi everyone,
I am on Dawn 15.0 theme. I would like to change the layout of the prices below the product card in the collections page as shown below. Can you provide instructions on how to implement this?
https://www.artey.com.au/collections/canvas-prints
Hello @Artey
Please share Your store url
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
You want this type
or this type
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
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 might also change the word "Sale" to "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 might also change the word "Sale" to "Now".
Hello @Artey
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
.collection .price__sale {
display: flex !important;
flex-direction: column !important;
}
span:has(.price-item.price-item--regular) {
order: 2;
}
span.price-item--sale.price-item--last {
order: 1;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024