Shopify themes, liquid, logos, and UX
Hi Guys, I recently updated my Expanse theme to the newest version. All my configuration disappeared after the update. I would like to remove the word ''price'' on product page and also make the price bold enough. How should I do that?
Thanks!
Solved! Go to the solution
This is an accepted solution.
Hello @Eze_Paul
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>
.product-block.product-block--price label {
display: none !important;
}
span.product__price span {
font-weight: 800 !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
This is an accepted solution.
Hey @Eze_Paul,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
.product-block.product-block--price > label {
display: none !important;
}
.product-block[data-dynamic-variants-enabled] {
display: none !important;
}
span.product__price {
font-weight: 600 !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Result:
This is an accepted solution.
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>
@media screen and(max-width: 767px){
span.product__price span {
font-weight: 900 !important;
font-size: 25px !important;
}
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hi @Eze_Paul ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file -> Save
<style>
[for="ProductPrice-template--20866884960585__main"]{
display:none !important
}
.product__price{
font-weight:600 !important
}
</style>
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
This is an accepted solution.
Hello @Eze_Paul
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>
.product-block.product-block--price label {
display: none !important;
}
span.product__price span {
font-weight: 800 !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Great! The price word is gone, but the price bold only works on desk, any code for both desk and mobile?
Thank you!
@Eze_Paul
Firstly Please accept my solution.
This is an accepted solution.
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>
@media screen and(max-width: 767px){
span.product__price span {
font-weight: 900 !important;
font-size: 25px !important;
}
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
This is an accepted solution.
Hey @Eze_Paul,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
.product-block.product-block--price > label {
display: none !important;
}
.product-block[data-dynamic-variants-enabled] {
display: none !important;
}
span.product__price {
font-weight: 600 !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Result:
Thank you!, The price word is gone, but the price bold only works on desk, any code for both desk and mobile?
Hey @Eze_Paul,
I don' think you used the code I provided.
ssssssssssssssssss
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024