Upload SVG file to header logo on craft theme

Hello.

I don’t know what I am doing here :tired_face:

It seems like wants to work but image doesn’t show there.

hi @Kimwaxler Have you upload the image with the same name as logo.svg and why are you adding the logo through code.

Hello,

Please try changing the line with this:


This will load the logo.svg file from the main assets folder using the correct path.

Let me know if it worked.

Hi, thank you for your help.

It still doesn’t work :cry:

I tried to upload from the theme setting but It failed to upload an SVG file.

can you add me as collaborator so I can see the problem.

Hi, actually, I was able to upload it, but now I have a problem: It is a little small for me.

Hi, thank you to the people who help me with this. I figure it out. It’s solved! Thank you :wink: