Shopify themes, liquid, logos, and UX
Dear people, i tried to change my discount badge and price colors in the base.css file with the codes in the screenshot. But i wil not change, could someone help me with a solution for this ?
Thank you Verry Mutch !
Solved! Go to the solution
This is an accepted solution.
Hi @Antonynex
Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
Offcourse that is lucky4voeter.nl
Password Temp12
Hi @Antonynex
I hope you are well. You can follow our instructions below:
1/ Shopify admin > Online store > Edit code
2/ Search for "theme.liquid" file
3/ Open the file and search for </head> tag and add the following code above </head> tag
Here is the code for Step 3:
{% style %}
span.product-price-final{
color: #0d7310 !important;
}
span.price-badge-sale.badge{
background-color: #0d7310 !important;
}
{% endstyle %}
If this helpful, please let us know by giving us a like and marking its as a solution. Thanks you 😍
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
It works but only on the product page not in the sections featured products, the section recommended products, the collection (template) and in the card itself. Is there a way for that so that it shows on those sections to ?
The badge does show on those collections but in the old green i need to change them in the same way and color as on the product page, because your code works fine on the product page only it does not change the colors on the other sections
Hi @Antonynex
Can you kindly share the details of your problem (screenshot/ record) with us? We will check it and suggest you a solution if possible.
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
Offcourse and thank you so Mutch, here are the screenshots on where it does not change the badge and the price color
Hi @Antonynex
using this code
{% style %}
span.product-item-price-final{
color: #000 !important;
}
span.img-badge-sale.badge{
background-color: #000 !important;
}
{% endstyle %}
If this helpful, please let us know by giving us a like and marking its as a solution. Thanks you 😍
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
Should i remove the first code and replace it by this one or should i add this code underneath the first code ?
This is an accepted solution.
It works but how can i change the old price color ?
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025