Design and CSS styles
Version 6.x > Design and CSS styles > Favicon.ico per site View modes: 
User avatar
Member
Member
jiri.francek@dragon-bits.com - 11/6/2011 12:11:08 PM
   
Favicon.ico per site
Hi,

I've read a few posts about how to setup different favicon.ico per site. Especially this http://devnet.kentico.com/Knowledge-Base/Design-and-css/Different-favicons-per-site-in-Kentico-CMS-4-0.aspx. But it's still version 4.0. Is there a better approach how to do this in the version 6.0?

Also if I use the approach for the version 4, it works everywhere but IE. The Portal Engine still renders the default favicon before the customized one:

<link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/>
<LINK REL="SHORTCUT ICON" HREF="http://cv.dragon-bits.com/cv-favicon.ico">

Is there a way how to configure favicon in site settings?

Thank you,
Jirka

User avatar
Kentico Support
Kentico Support
janh-kentico - 11/7/2011 1:51:21 AM
   
RE:Favicon.ico per site
Hi Jirka,

Actually, you can just delete the favicon.ico file from Kentico CMS directory and copy your ones to each site's App_Themes folder (e.g. ~/App_Themes/CorporateSite/favicon.ico). Now please switch to the Masterpage tab on your master page and there is a text filed between the head tags, so please fill it with:

<link rel="shortcut icon" href="~/App_Themes/CorporateSite/favicon.ico" />

and apply this approach for each site you have. Don't forget restart the application (Site Manager ->Administration -> System) after you set these new favicons.

Best regards,
Jan Hermann

User avatar
Member
Member
JFK - 11/10/2011 2:54:22 PM
   
RE:Favicon.ico per site
This perfectly works, many thanks!