2

I can't change my favicon size even after I give it sizes="32x32" it doesn't change and I don't know where is the problem.

My code:

<link rel="icon" type="image/png" href="Images/favicon-32x32.png" sizes="32x32"/>
4castle
  • 30,756
  • 11
  • 66
  • 100
Omar Yahia II
  • 21
  • 1
  • 1
  • 2

2 Answers2

2

The size attribute is not supported in any of the major browsers. HTML link sizes. This site will let you create 32x32 icons. Here's a stackoverflow question that may be helpful. Another helpful answer can be found here, in this answer there is a better favicon generator. Here's the link to it.

Community
  • 1
  • 1
Anthony
  • 1,399
  • 1
  • 18
  • 35
  • You can change the size of your icon [here](http://www.xiconeditor.com/). – Anthony Feb 16 '17 at 16:15
  • I've edited my answer that links you to a site that can change the size of your favicon and a link to a stackoverflow question that may be helpful. – Anthony Feb 16 '17 at 16:21
0

Try this is the best option:

<link rel="icon" href="favicon. png" sizes="16x16 32x32" type="image/png">
S.B
  • 7,457
  • 5
  • 15
  • 37
Jenil J
  • 9
  • 2