Jump to content

Adding Favicon to Site


Felix

Recommended Posts

You can update this file with a new icon:

http://yourdomain.com/favicon.ico

 

E.g.

https://kvs-demo.com/favicon.ico

 

And then please add these lines in header template (Website UI -> Page Components -> include_header_general.tpl):

 

<link rel="icon" href="{{$config.statics_url}}/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="{{$config.statics_url}}/favicon.ico" type="image/x-icon">

 

See live example:

https://kvs-demo.com/admin/project_pages_components.php?action=change&item_id=include_header_general.tpl

Link to comment
Share on other sites

  • 4 years later...
  • 7 months later...
  • 4 weeks later...
4 hours ago, viper said:

Why no icon for Apple?

<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">

 

Is it a question to KVS? Why don't we use Apple icon in our themes? But we can't provide any icons, as they are custom made for every site. You need to add this yourself. We are putting default favicon.ico when empty space only to get rid of 404 error, because many browsers will query favicon.ico file automatically, regardless of it being specified in HTML or not.

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...