• Resolved Paul Allen

    (@paulallen)


    Hi,

    This theme is an absolute joy to work with.

    I’m using the SVG Support plugin so I can upload an SVG logo and unfortunately, the logo doesn’t appear in the header.

    The image markup is outputted as expected, however, I noticed the width and height values are outputted as 0.

    Can easily be solved with some additional CSS but I thought I’d give you the heads up.

    Thanks for sharing this theme and congrats on a job well done!

    Paul

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi @paulallen,

    Glad you like it! I tried installing the plugin you mentioned and setting an SVG file as the logo, and the SVG logo displayed as expected, with height and width.

    Does the SVG file you uploaded have a width and height attribute set on the SVG element? If it doesn’t, it’s possible that WordPress sets the width and height parameters of the attachment to 0 as well, which would result in the Core logo function outputting the logo with 0 width and height as well.

    — Anders

    Thread Starter Paul Allen

    (@paulallen)

    Hey,

    Yes, you are exactly right, the SVG logo I outputted from Illustrator didn’t have the width and height attributes.

    Thanks for your response.

    Paul

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SVG Logo’ is closed to new replies.