Home > Software engineering >  SVG favicon not working for Chrome shortcut
SVG favicon not working for Chrome shortcut

Time:07-31

I'm using <link rel="icon" href="images/icon.svg" sizes="any" type="image/svg xml"> and it works like a charme for the icon in the browser tab:

enter image description here

However, when I create a Chrome shortcut (... > more tools > create shortcut), the icon does not work anymore all of a sudden and it just takes the first letter of the website as a fallback:

enter image description here

How can I make this SVG icon work for chrome shortcuts as well?

CodePudding user response:

If the site is being hosted locally, I wouldn't expect it to show up in the bookmark, If the site is being hosted elsewhere, though, my guess would be that changes are taking time to propagate, depending on the hosting provider or CDN.

  • Related