DEV Community

Discussion on: Definitive edition of "How to Favicon" in 2023

Collapse
 
benblazak profile image
Ben Blazak

Really appreciate this as well!

Possible correction: just did a brief test (macos 10.14: safari 14, chrome 94) and the favicon wouldn't show up when i only had links to the svg and apple-touch-icon. I added a link to the ico (before the svg) and it works now.

Collapse
 
masakudamatsu profile image
Masa Kudamatsu

Thank you for your feedback, @benblazak ! On Nov 8, I've revised the article to recommend the inclusion of the reference to the ico file, with the attribute of sizes="any" (which prevents Chrome from picking the ico file). Given your experience, I've come to a conclusion that this method is better than omitting the reference to the ico file.

Collapse
 
benblazak profile image
Ben Blazak

Thanks! Tested, this does indeed work with my setup :)

Thread Thread
 
masakudamatsu profile image
Masa Kudamatsu

Great to hear that! Thanks for your feedback again!