• Resolved FREEZhao

    (@freezhao)


    Hi,Benbodhi

    Sorry to contact you again for help. my web still can not show the svg logo, can you tell me how to do it ?

    THX !!!! and thanks you great work.

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Benbodhi

    (@benbodhi)

    Hi there,

    Can you please explain exactly what you need help with?
    Any errors or anything?
    I’m not exactly sure at this point…

    Thread Starter FREEZhao

    (@freezhao)

    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.

    Plugin Author Benbodhi

    (@benbodhi)

    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.

    Thread Starter FREEZhao

    (@freezhao)

    Ok, now I have choosen svg file as logo, but it just show the tile text.

    Plugin Author Benbodhi

    (@benbodhi)

    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.

    Thread Starter FREEZhao

    (@freezhao)

    You shuold received a mail

    Plugin Author Benbodhi

    (@benbodhi)

    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.

    Plugin Author Benbodhi

    (@benbodhi)

    Personally, I would ask the theme developers to allow for SVG logos using my plugin.

    Thread Starter FREEZhao

    (@freezhao)

    That`s sounds good, I also send a ticket to ask for that.

    Plugin Author Benbodhi

    (@benbodhi)

    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.

    Thread Starter FREEZhao

    (@freezhao)

    That means they will update the theme? I just waiting for the update is enough?

    Plugin Author Benbodhi

    (@benbodhi)

    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.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Help again for logo’ is closed to new replies.