• Resolved jason kickmouth

    (@jason-kickmouth)


    My SVG in the footer widget works perfectly – but not on my SVG custom-logo. Is this even possible?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jason kickmouth

    (@jason-kickmouth)

    Sorry; to explain more clearly – I can apply CSS styles to the .cls for my SVG in the footer (on hover); but not on the custom-logo.
    Is it possible to style my logo in the same way? Clearly the SVG code is not being generated or output to html in the same way so I’m guessing not.
    Thanks

    Plugin Author Benbodhi

    (@benbodhi)

    Hi there,

    Yeah, because of the way your theme includes the logo image, it’s not possible to render it inline the way my plugin usually allows.

    There’s a few options that may work.

    1. Try the force inline SVG option in my plugin settings. This is not usually recommended, but may work by forcing your logo SVG to render inline… however, it will force ALL SVG files to render inline, which may bring adverse results with it if you have SVG icons or anything elsewhere.

    2. You may be able to simply add it to your header.php file in your child theme by including the SVG file in your child theme, then referencing it using get_stylesheet_directory() . 'path/to/svg/file.svg'; in your header, replacing the existing <img> tag.

    I hope this helps.

    Let me know how you go!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Does this work on custom logos?’ is closed to new replies.