Nidhi Manchanda
Nidhi Manchanda

Reputation: 37

Favicon is getting displayed on the admin dashboard but not on any browser

I have added a favicon.ico file in my root directory and have also added the image as site identity. Favicon is getting displayed in my admin pages but not on any browser. Here is the link for the website "www.acrosszero.org"

Upvotes: 0

Views: 3916

Answers (2)

This occurs sometimes when the favicon is too large.

To create a favicon that fits use the following dimensions:

  • widht: 512px
  • height: 512px

Upvotes: 0

Add an .ico image file (16x16 or 32x32 pixels) to the folder where is the page you want to display it. Then, in that page, edit the source code: inside the <head> tag (if it doesn't exist, you create), wich is inside the <body> tag, add:

<link rel='shortcut icon' href='favicon.ico' type='image/x-icon'/ >

Then close the tag this way:

</head>

Save the page and reload.

Upvotes: 1

Related Questions