TinyBuilder
Bike ✔
- Mar 19, 2012
- 717
- 66
Hello, is there any way I could use my favicon as the hotel's favicon? What code to put in header.php to make the favicon work?
Thanks,
Tiny
Thanks,
Tiny
<link rel="shortcut icon" href="NAMEOFTHEFILE.ico" />
<link rel="shortcut icon" href="/img/1/NAMEOFTHEFILE.ico" />
One, you should convert your image file (the icon) to an .ico file.
Second, here's the code...
Code:<link rel="shortcut icon" href="NAMEOFTHEFILE.ico" />
Put the .ico file into the root directory, but if you prefer storing it to a folder then make sure you put the folder hierarchy e.g. if it's on the "1" folder under image then it should be...
Code:<link rel="shortcut icon" href="/img/1/NAMEOFTHEFILE.ico" />
And change the NAMEOFTHEFILE to the name of your .ico file. Hope it helps.