How to change "favicon" image?

Nitin Patil asked on April 12, 2016 10:16

How to change "favicon" image?

Correct Answer

Chetan Sharma answered on April 12, 2016 12:45

Hi Nitin,

My answer would be combination of Jan's and Milan's approach. Both are good in their own way.

  1. I would not default not delete favicon file in case my server has multiple websites.
  2. I would upload my favico.ico(making sur that it is "16 by 16", 32 by 32, 48*48 file and optimized) to site specific media library and use it either through HEad HTMl webpart or write code directly in the Master Page's head section

      <link rel="icon" type="image/png" href="/website/media/Images/website.ico" />
      <link rel="shortcut icon" type="image/png" href="/website/media/Images/website.ico" />
    

In your question, you do not mention the mobile browsers. Most of them will ignore the favicon.ico file. Although your site may be dedicated to desktop browsers, chances are that you don't want to ignore mobile browsers altogether??

I hope this helps.

Chetan

2 votesVote for this answer Unmark Correct answer

Recent Answers


Milan Lund answered on April 12, 2016 10:34 (last edited on April 12, 2016 10:34)

Just upload your favicon i.e. to a Media library and link it in your Master page in the head section.

i.e <link rel="icon" type="image/png" sizes="96x96" href="/hb/media/favicon/favicon-96x96.png" />

1 votesVote for this answer Mark as a Correct answer

Jan Hermann answered on April 12, 2016 10:38

Don't forget to delete the default favicon.ico from the root of the CMS project folder to stop Kentico to generate links for it. (or you can overwrite it with your custom icon)

2 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.