Changing the product before price color on minimal theme

Highlighted
New Member
27 0 0

I'm trying to change my products before price color on the home and collection pages. What would I need to edit to do this? I'm on the minimal standard theme.

 

 

 

Screen Shot 2019-01-17 at 1.44.05 PM.png

0 Likes
Shopify Partner
1843 170 525

Hi Justin,

 

You would need to navigate to Online Store > Themes > Actions > Edit code and then open Assets / theme.scss.liquid from within which you can search for this bit of code:

 

.grid-link__sale_price {
  opacity: 0.95;
  filter: alpha(opacity=95);
}

And change it like so

 

.grid-link__sale_price {
  // opacity: 0.95;  // you don't really need the opacity
  // filter: alpha(opacity=95);
  color: blue;  // choose whatever named color or hex color value
}

That should be all there is to it.

 

Best wishes!

I turn coffee in to code - since 1998
0 Likes