WordPress.org

Ready to get started?Download WordPress

Forums

svg in not displaying in chrome (3 posts)

  1. McAsh
    Member
    Posted 1 year ago #

    I'm having an issue with svg images in Chrome. According to caniuse.com Chrome should very well be able to display svg and I have also done it before. But for some reason it's not possible for me display an svg like this

    <img class="logo" src="http://malenemailand.dk/wp/wp-content/themes/SCRN%20child/images/mailand-logo.svg">

    Firefox and Safari has no problems displaying it. If I change it to .png I have no problems. Can anybody explain what I am doing wrong here. Really can't figure it out.

    Any help would be greatly appreciated. Thanks.

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Why are you using SVG?

  3. McAsh
    Member
    Posted 1 year ago #

    Because it should be optimized for retina displays.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags