So i'm making a website using github but the favicon isn't showing. I'm pretty sure im using the right code. <link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
Can any of you help? Give me the right code? I am using bootstrap but i don't think it should change how to add the favicon.
Asked
Active
Viewed 2,509 times
1

VocalFan
- 117
- 2
- 11
-
Did you place the favicon.ico in your repsitory?, did you place this call in the ? – Epig Aug 11 '18 at 22:52
-
Epig Yes I did. – VocalFan Aug 11 '18 at 22:53
-
To be honest, I dont know but you could try to reload with Shift + F5 – Epig Aug 11 '18 at 22:59
1 Answers
1
You might take alook at Adding a favicon to a static HTML page
Also this might be helpful Favicon with GitHub Pages
If everything is set correctly as you described, you might also try to ctrl/cmd + shift + r to empty cache.

Lvcas
- 41
- 6
-
Then You might try to save an image in several formats, e.g. 32x32 or use this tool here: https://realfavicongenerator.net/ – Lvcas Aug 11 '18 at 23:34
-
Actually I just opened inspector and clicked "Network" It didn't even try to load it. – VocalFan Aug 11 '18 at 23:36
-
Please make sure that your favicon location is same as in or you just have Favicon in root directory. – Lvcas Aug 11 '18 at 23:40
-
If I am correct and https://github.com/mrmajik45/website this is your GitHub repository, changing from to worked for me. – Lvcas Aug 11 '18 at 23:46
-
No I'm doing a hackalong https://github.com/LastMagicHackers/LastMagicHackers.github.io – VocalFan Aug 12 '18 at 00:25