Payment icons in gray

Muriel
Tourist
25 0 1

Hi,

I am wondering how to get payment icons in gray (or B&W). Using the minimal theme, there is this code in the footer section:

<li class="payment-icon">
 {{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
 </li>

So I am wondering if there is a class for grey. 

Best

Replies 12 (12)
nkfstr
New Member
1 0 0

use css

filter: grayscale(1);

jorge_perff
New Member
1 0 0

Hi,

 

I don't have theme.scss.liquid file ! Do you know where I can paste this code?

My store is www.perff.com

 

Thanks

Scott-Austin
Shopify Expert
13 0 9

@jorge_perff - your theme's CSS file is styles.css.  You'll find it in the assets folder.

Scott Austin
Owner of https://jadepuma.com
Host of The Shopify Solutions Podcast