Wednesday, October 14, 2009

Add Favicon icon to drupal site

Now, to add it to drupal with a theme using the phptemplate engine is easy. Just upload the favicon.ico file to the base directory of your theme. The same directory your style.css file is in. Drupal will automatically detect it and do the work to make it display on your site.
If you are using something other than drupal than to have your favicon display will need one more step. Once the file is uploaded to the sever, the following piece of code needs to be up on your web pages in the
<link rel="shortcut icon" href="/path/to/favicon.ico" type="image/x-icon" />
Just change the /path/to to the path to your favicon.ico file and your all set.


hasu jadav said...

it works ...thanks

Manoj S said...

hi i have uploaded a favicon to theme but it is not getting displayed when a link to pdf file is clicked.i.e when pdf files opens favicon is missing.

Padma said...

Can you describe more..