Can't use svg logo

Hi there, with the new version I can’t use svg logo in the header area of theme option. I’m able to update the svg in Wordpress, but not use it as x-theme logo.

I have already read this post https://theme.co/apex/forum/t/unable-to-select-svg-file-as-logo-in-header-in-x-version-7/65984/2 and I don’t have $logo on line 10, nor in _brand.php file there isn’t any $logo variable.

Apart that, I would like to upload svg logo from the theme option and not adding the link in php.

Thanks

Hi Alessandro,

Thank you for writing in, I’ve just tested to use SVG image on my header builder and it still works fine. Do you have any other SVG file that works before? can you test that and see if that works. If it is, you’ll know that the issue is on your SVG file, please make sure your <svg> file tag contains explicit width and height attributes.

e.g.

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="Layer_1" x="0px" y="0px" width="536.4" height="210.6" viewBox="0 0 536.4 210.6" style="enable-background:new 0 0 536.4 210.6;" xml:space="preserve">

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.