Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
hi,
Could someone please help me by providing a code to change the sale price and badge to red in the District theme?
Thank you,
Dani
Solved! Go to the solution
This is an accepted solution.
span.label.sale {
background-color: red !important;
}
Add this CSS at the bottom of Online Store->Theme->Edit code->Assets->theme.scss.liquid
This is an accepted solution.
put this css code
.price span.money {
color: #B81DE1;
}
Hello,
Can You Please Share Your Store URL... if your store has password protection then also share a password
I Will Check and Provide a Proper Solution
Thank You!
hi there, my store URL is Bikini - Sale (madetobefree.com.au)
Can I cut and paste what you need here instead I'm not sure what my password is.. otherwise will try to reset. What part of theme.scss.liquid could I copy and paste here for you?
Thank you so much,
Dani
This is an accepted solution.
span.label.sale {
background-color: red !important;
}
Add this CSS at the bottom of Online Store->Theme->Edit code->Assets->theme.scss.liquid
hey it did work thank you so much! I'm even able to play with the colours as well by replacing the word 'red' in the code. How can I make the new price other color as well?:
Thank you,
Dani
This is an accepted solution.
put this css code
.price span.money {
color: #B81DE1;
}
Awesome, it worked! Thank you so much, really appreciated!
Sorry I just realised that the price colour of the products not on sale also changed, is there any further code that I can enter to avoid it? Example below should be showing the original dark greyish colour (default):
Thank you so much again!
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