How to use SVG as a logo

Hi,

I am uploading SVG for my logo, but it does not show up. Can you give us any tip on how to replace the theme logo for an SVG? This is important because I need to be able to change the color of my logo depending on the page.

Comments

  • Hello,
    Did you applied the "SVG Logo Width" in Theme Options > Global > Logo when your logo was uploaded?
    It's really necessary.

    Also, if this won't help you, please send us a link to your website.
    Thanks
  • I applied it. In the end I managed to show the SVG logo, but the problem is that it is shown as an image, and not as an object. How can I change the way the logo is loaded?

    The site is proxy.do but that won't really help you.
  • You uploaded your logo as .png, not .svg
    Please remove the .png logo from your theme options and upload only the svg logo.

    Also, do you use some plugin to enable the .svg extension?
    By the default the .svg is disabled by wordpress.
    Thanks

  • Hi Pablo, did you read what I wrote?

    I got the SVG to show up, but it is being treated as an image (as in <img src="logo.svg">) instead of an object (as in <svg></svg>), and I need it in the object format to manipulate the logo.

    How can I do it? I have a child theme.
  • It will be used as a <img> because it's made to be treated like that.
    It's better for SEO and loads faster - which is the most important for us while our theme has a lot of functions.
    To change that, you would have to edit the BeTheme files - which unfortunately, we do not provide help with.
    Thanks
  • Thanks for your answer Pablo.
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.