Collections: Change price color
Pipeline uses the Accent color choice from your Theme settings for the collection product price color:
Simply change that color setting to modify the price color on product pages.
If you'd like to keep the Accent color setting and override the product price color, here are some options you can control in code:
Code options to change:
- 1
-
Sale price
/* -- code to change collection sale price -- */ .price_wrapper span.price.on-sale {color: #cc0000;} /* - end - */
This example uses #cc0000; which is a red color while the Accent color is unchanged:
- 2
-
Original price - When on sale
/* -- code to change collection compare at price -- */ .price_wrapper span.compare-at {color: #656565;} /* - end - */
This example uses #656565; which is a grey color while the Link color is unchanged:
- 3
-
Regular price - Not on sale
/* -- code to collection regular price when not on sale -- */ .price_wrapper span.price {color: #135e90;} /* - end - */
This example uses #135e90; which is a blue color while the Body text color is unchanged.
Colors
hex color code references:
http://www.colorhexa.com/web-safe-colors
https://picular.co/
Where do I add the code?
Use this link to learn where exactly to add this code snippet: