Hi there,
Can you please explain exactly what you need help with?
Any errors or anything?
I’m not exactly sure at this point…
Oh, sorry for that. This is what I want.
I want use the svg logo in my website(top left). I have already install svg support and active it. But when I set the svg as logo in customize. It just doesn`t show up (instead of them only text show up), Do you know how to do it?
Now I just uploaded a normal png for logo. It`s what the website looks like right now.
Hello,
Without the SVG there, I can’t really troubleshoot.
But sounds like you might just need to set some sizes on the SVG once it’s in there.
If you can put the SVG file in there so I can look at the code, that will help.
Ok, now I have choosen svg file as logo, but it just show the tile text.
That is strange, not even an <img> tag is there now…
It shows
<div class="navbar-brand">
<h1>
<a href="http://sid-gafa.com" title="Guangzhou Academy of Fine Arts">
School of Innovation and Design
</a>
</h1>
</div>
I’d be happy to take a better look, if you could send temporary admin login to [email protected]
If you don’t want to do that, please provide your theme so I can set it up and test with it.
You shuold received a mail
Thank you.
So your parent theme uses some “helper functions” to display the logo.
Upon looking into the code, it is checking for sizes in the function venture_has_logo() in file venture/functions/customizer/helpers-logo.php.
You will need to modify the header.php file and/or the helpers-logo.php file to allow for SVG, or at least just an image without checking for sizes as SVG has no specific sizes.
I hope this helps.
Personally, I would ask the theme developers to allow for SVG logos using my plugin.
That`s sounds good, I also send a ticket to ask for that.
Good luck, hopefully they modify their code to support it 🙂
Thanks for using my plugin.
Please note: this issue is isolated to your logo only because of the way the theme code is written. You can use SVG files everywhere else in posts and pages like normal.
That means they will update the theme? I just waiting for the update is enough?
I have no idea if they will change their code.
Your best bet is to do it yourself in the meantime using your child theme while you wait to hear whether they will change their theme to support SVG.