[Resolved] SVG logo size

Home Forums Support SVG logo size

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #261274
    Dave Foy

    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.

    #261306
    Tom
    Lead Developer
    Lead Developer

    That’s strange – you might need to set the dimensions.

    Give it a try and let me know 🙂

    #261312
    Dave Foy

    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. 🙂

    #261314
    Tom
    Lead Developer
    Lead Developer

    Thanks for letting me know, I’ll add something to the documentation 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.