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 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
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.
By 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, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024