Favicon not showing in Safari

假如想象 提交于 2020-05-27 04:28:09

问题


I've searched all over the internet already and I still don't know why the favicon wont show on safari, it shows ok on chrome and FF, I've tried these in the header:

<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>

or this

<link rel="shortcut icon" href="favicon.ico?23189123" type="image/x-icon"/>

changed the favicon to 32 bits, or removed the WebpageIcons.db from safari library etc. and I check the website on browserstacks in case is my cache..

Is there anything else Im missing? please let me know any suggestions, thanks in advance.


回答1:


Safari uses "apple-touch-icon" and not just "icon". Also, you will have to specify the icon for all Apple devices if you want it to show up in all of them.

Read more here https://css-tricks.com/favicon-quiz/



来源:https://stackoverflow.com/questions/24992048/favicon-not-showing-in-safari

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!