Why won't my site's icon show up in Google Chrome?

半腔热情 提交于 2019-12-12 10:19:19

问题


I'm trying to get my site's icon to show up in Google Chrome, but am stumped as to why it's not. It works in IE, FF, Opera, and Safari. Here's the icon-related code currently on the page:

<LINK REL="apple-touch-icon" HREF="/_images/icons/BHS2.2 - Modern 512.png" TYPE="image/png" />
<LINK REL="shortcut icon"    HREF="/_images/icons/BHS2.2 - Modern.ico"     TYPE="image/x-icon" />
<LINK REL="favicon"          HREF="/_images/icons/BHS2.2 - Modern.ico"     TYPE="image/x-icon" />

The actual page is at BHStudios.org in case you want the full sauce. I don't want any tangents about site design, just the icon.


回答1:


change the name to favicon.ico and move it to the root of the site.




回答2:


after a google search, i've found this:

<link rel="shortcut icon" href="/_images/icons/BHS2.2 - Modern.ico"  type="image/x-icon" />
<link rel="icon" href="/_images/icons/BHS2.2 - Modern.ico"  type="image/x-icon" />

please try and tell me if it worked.



来源:https://stackoverflow.com/questions/13711648/why-wont-my-sites-icon-show-up-in-google-chrome

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