SVG logo in Dawn Theme

nd500
Excursionist
16 0 4

Hello,

1. Any good way to replace .png with .svg logo in the header?

2. How to use my custom payment icons (also .svg) instead of the original Shopify's?

 

Thank you!

Reply 1 (1)
LitExtension
Shopify Partner
1985 330 405

Hi @nd500,

1: Please follow these steps:

- Step 1: Go to Online store > Themes > Actions > Edit code.

- Step 2: Go to Assets > Add a new asset > Upload a file. https://i.imgur.com/EXCzFq3.png

Ex: your logo is 'logo.svg'

- Step 3: Go to sections > header.liquid file, find 'header__heading-logo' and change code:

https://i.imgur.com/CQC58Ez.png => https://i.imgur.com/ABRuJ78.png 

Code:

<img src="{{ 'logo.svg' | asset_url }}"
              class="header__heading-logo"
              alt="{{ shop.name }}"
            >

Hope it is clear to you.

LitExtension - #1 Shopping Cart Migration Expert
If our answer is helpful then please accept as solution!
Are you looking for a solution to migrate to Shopify? Contact us for further assistance.
Try our FREE DEMO now!