Support » Plugin: Add Full SVG Support » Stretching the width, while keeping a fixed height?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jens



    I might consider this in the future. Unfortunately, there is no easy way to do this, but some potential hacks.
    Can you tell me more about the reason you need this feature – this could help to find the best solution.

    Bear in mind that for page speed and SEO reasons it is usually better to define sizes.


    Plugin Author Jens


    Maybe I misunderstood your question.
    Of course, you can give the svg any width you want and keep the height fixed. Simply set width and height like you want. The svg will adjust.

    I first thought that you want to only change the width with the height automatically adjusting to it. This would be kind of a problem since most svg images don’t offer comprehensive size information. It’s always better to give them explicit width and height information.

    I consider this post as solved. If you have any further question, feel free to ask! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Stretching the width, while keeping a fixed height?’ is closed to new replies.