-
Open theme.liquid file in the online code editor.
-
Look for this code:
<li> <span class="icon-fallback-text"> <span class="icon icon-{{type}}" aria-hidden="true"></span> <span class="fallback-text">{{ type | replace: '_',' '}}</span> </span> </li>
-
Replace with:
<li> <img width="50" height="31" src="{{ type | payment_type_img_url }}"> </li>
Last active
October 9, 2017 13:22
-
-
Save carolineschnapp/d92d85334239bde62257 to your computer and use it in GitHub Desktop.
Replace monochrome methods of payment in Timber-based themes to colorful SVG icons
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<li> <span class="icon-fallback-text"> <img width="50" height="31" src="{{ type | payment_type_img_url }}"> </span> </li>