Site logo

Archived topic

SVG logo size

3 replies · Started by Dave Foy on January 6, 2017

Viewing posts 1–4 of 4

Hi - I've uploaded an SVG logo via Customiser > Site Identity. I first allowed the upload via functions.php.

I can see that .header-image is there, as my SVG. However it's displaying at 0px, therefore not visible.

Should I also have to explicitly set the dimensions in CSS? Or has something gone wrong?

Happy to set the dimensions in CSS (which works fine), just wanted to be sure I'm not missing a trick. :)

Thanks.

That's strange - you might need to set the dimensions.

Give it a try and let me know :)

Yes setting the dimensions in CSS does work. I'll just assume that's something you have to do then. I haven't seen that step mentioned in any articles I've read on the subject, but maybe it's just assumed, I don't know.

Anyway: it works. :)

Thanks for letting me know, I'll add something to the documentation :)

This archived topic is closed to new replies.