I have my logo available as a png and svg file. I’ve read that svg files are better because they are smaller, have a better quality and are smaller in size.
I found tutorials online but i cant make it work because the code in dawn os 2.0 is different.
1: Upload your SVG logo to shopify: Settings > Files in admin
2: Copy the Logo Link (Copy Link)
3: Go to Theme and Edit Code
4: Search header.liquid
5: Find this code:
My goal is to be able to make my logo much bigger than what .PNG & .JPEG allows.
I was told if I use an .SVG logo, I can size it as I want. Is this true? And if so, how? I’ve tried the codes everyone is posting to delete in header.liquid but the Dawn theme doesn’t have any of those codes. Please help.
For anyone having the same problem (means pasting the link works, and you successfully replaced the logo with a vector file, but now it’s way too large) - I had the same problem in Dawn theme, and I found a solution that works for me. But I want to point out that I’m not a developer.
Go to your base.css file, find a line of code (around 1895 in my theme):
and change the width value for whatever works for you (for me 50% was perfect).
Now, if you have the logo center-aligned, you might notice that it’s not in the middle anymore. In my case, I went to line 1816, and in this piece of code: