Favicon not showing

Asked

Viewed 1,254 times

0

Good afternoon,

I would like the help of the university, created a website and put a favicon in the same folder as the pages that call it, but the favicon is not being shown:

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

Access link: https://www.glonatec.com/

  • Here it shows.

  • DVD on all tested pcs did not appear, too weird this

  • Here it comes.

  • Replace "image/png" with "image/x-icon"

  • It also shows... Maybe it’s just cache... Try updating the page by pressing CTRL+F5

  • I tried to update with CTRL+F5 but gave anyway, I do not know if it is my computer, but in yours is showing, but in the staff that I have to deliver the project, it does not work =/

Show 1 more comment

2 answers

1


Not all browsers are able to recognize favicons. Try using Google Chrome or Mozilla Firefox and make sure they are up to date.

In the case of the site you reported, here I could view without problems using the latest version of Mozilla Firefox. Follow print:inserir a descrição da imagem aqui

1

I know you’ve explained the reason, but just to reinforce, each browser can operate in a different way, so there are TAGS correct for each this ranging from computers to smartphones.

I searched and saw that it is necessary to create two files both with 32x32 px being one in ICO format (Converted and not saved by image editors) and another PNG:

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

To avoid CACHE I advise changing the name of the files because your browser may not understand at first. There are also the tags for other various browsers, mainly smartphones that I will put here if these do not solve your problem.

Use this online converter if you want to generate all the required formats in an automated way:

https://realfavicongenerator.net/

(It also generates all the tags needed for your HTML header)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.