Support » Theme: Customizr » [Request] Easy snippet for uploading SVG icon in header

  • Resolved J123456


    It would be great if someone knowledgeable in php could do this.

    I have added a function (copy/paste job from another forum) to the functions.php of my child theme that allows me upload SVGs via ‘Media >> Add New’ but that doesn’t allow me to put it in the header through customizr.

    I have seen a snippet creating an animated svg but all I would like is a static svg for a logo which could be uploaded through the (very easy) Customiz’it menu. (SVGs are good for this!)


Viewing 4 replies - 1 through 4 (of 4 total)
  • I tried but failed. Sorry!

    SVGs a great for where you need scaling, but they are not supported in IE8 and you need to jump through hoops (as yet unknown) to get them to work here.

    The question is: in this situation, where the logo is not being scaled (you can even select the option to make sure it never goes beyond 250x100px), is it really needed?

    Thanks for trying.

    The SVG just looks clearer. The image is a png and dimensions are 250x82px. Maybe I need to go back and look at converting it again using some different settings.

    Interestingly the actual image file looks sharp if you view it using the image URL but when it’s on the page it looks slightly blurry.

    I’ll do some more digging.


    Anyway svg form isn’t supported for the customizr logo.

    So it was a simple fix after all:

    For anyone else who finds that their logo image is always slightly fuzzy or blurred in customizr, my problem turned out to be the zoom on my browser!

    I accidentally discovered that my browser was zoomed in slightly from normal… I reset it and the logo is as it should be.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Request] Easy snippet for uploading SVG icon in header’ is closed to new replies.