Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Twentig

    (@twentig)

    Hi,

    Twentig uses the dimensions of the uploaded logo to calculate some values for layout purpose. Can you please tell me which method (plugin, custom code…) you’re using to upload an svg file so I can try to replicate the issue on my side?

    Thanks,
    Tom

    Thread Starter namzzz

    (@namzzz)

    Hello, Tom,

    I use SVG Support to upload .svg files.

    Good luck)

    Plugin Author Twentig

    (@twentig)

    I’ve installed the SVG Support plugin but can’t replicate the issue on my side. If possible, could you please share the URL of your website?

    Thanks,
    Tom

    Thread Starter namzzz

    (@namzzz)

    Hi, Tom!

    URL: http://crs.kiev.ua.

    The issue was present only with TwentyTwentyOne theme. I’ve decided to use TwentyTwenty instead because of certain reasons and i see no warnings)

    If you interested, i can make another instance and try to replicate the issue with TTO theme.

    Plugin Author Twentig

    (@twentig)

    Hi,

    Thanks for the heads-up. I’ve tested multiple times but can’t replicate the issue on my side. Your website is password-protected, so I can’t access it. If possible, could you please share the URL of your SVG file (maybe it depends on the file)?

    Tom

    I was able to replicate this issue and get it to work in this scenario.

    my svg files needed width="300" height="100" (or whatever size your image is) added to the <svg> tag in the file prior to uploading. Without the height and width set the dimensions are 0x0 and causes those php errors.

    But the mobile width and height being set to auto by twentig makes the svg image disappear on the smaller breakpoints.

    • This reply was modified 4 months, 3 weeks ago by svincent.
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.