Nicholas Bourbaki
Nicholas Bourbaki

Reputation: 101

how can I make a site wide favicon

I'd like to make a site wide icon for my website. Using Corel Photopaint X5, but it doesn't have an .ico export option.

I can make a 1-page-only favicon by exporting a 32x32 pixel .png file and then using the command (my code examples are always trimmed out.) on each page. However I've many,many pages, hence the need for a site-wide one.

I've used an on-line converter to make an .ico file 16,32,48 pixels which I've uploaded to my webroot. Permissions are 755. However no luck.

For reference my webroot is: my-domain.com/www/ My server uses this instead of public_html.

Upvotes: 0

Views: 425

Answers (1)

Bin Salem
Bin Salem

Reputation: 26

Use this code in header :

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

Upvotes: 1

Related Questions