9 years 9 months ago
Hi,
I'm trying to load multiples png files as favicons, like this for exemple :
<link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16" />
<link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="favicon-160x160.png" sizes="160x160" />
I tried to inject this code in the template's head.php file and the lines appears in the markup but favicons are not loaded, it don't even appear in the network tab of my dev tool.
- First, if I load it in the head.php file where does the png files has to lay ? In the same directory than head.php ?
- Second, is there an other way to do it than edit head.php ? I don't enjoy edit templates core files, I care about updates.
Thanks !
Sincerely.
Brunus.
EDIT : It works, it was a cache problem and also with those src pathes the favicons has to lay in the joomla root directory. I first saved the favicons in the templates directory and it was not working.