The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Design SVG Bounding box with sprite hard to topic

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #272032

    Hi guys

    I’m using an SVG from a sprite that Gulp has generated for me.

    You can see the page here:

    Do you know why the container svg with a class of logo-wrap–logo is square? i.e. why is it not just the height of the svg path its self?

    Might be super simple but its late and my brain hurts, any help will be massively appreciated.

    Thanks Dang


    The SVG has a viewbox of 100 by 100 ….you would need to adjust that.

    You would need to use the same viewbox as the original SVG which, I assume, has the correct size.

    <svg id="icon-main-logo" viewBox="0 0 569.5 260.6" width="100%" height="100%">
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design’ is closed to new topics and replies.