Installing favicon files in the <head>

  • digiwide
    Inactive member
  • Topic Author
  • Member
  • Member
More
8 years 10 months ago #46256 by digiwide
I want to place code of favicon to the head source:

<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-TileImage" content="/mstile-144x144.png">
<meta name="theme-color" content="#ffffff">

Is there a special file or special place in the source-code of a php-file? For all platforms

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
8 years 10 months ago #46257 by milos
Hello,

You should edit template's index.php file (in folder <joomla-root>/templates/template_name
In this file add the above HTML code before the closing </head> tag.

Thanks

Please Log in to join the conversation.

  • digiwide
    Inactive member
  • Topic Author
  • Member
  • Member
More
8 years 10 months ago #46259 by digiwide
There is no such a file in this template. I used now the file component.php and everything is showing OK.

Please Log in to join the conversation.

Time to create page: 0.233 seconds
Powered by Kunena Forum