-
Checklist
How did you create the site?Generated from DescriptionI updated my website with a custom favicon and verified that the favicon file is correctly placed and referenced in the HTML. However, the browser continues to display the default favicon instead of the one I provided. I’ve also cleared the cache and reloaded multiple times, but the issue persists. Operations you have already triedCleared browser cache and tested in incognito mode. Checked the file path and favicon format. Despite all this, the default icon still appears. I’m not sure if the issue is related to caching, incorrect paths, or how the server handles favicon requests. Anything else?Expected Result: Actual Result: Additional Notes: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I'm assuming this is a newer issue, cause 1 site I have for over a year shows the custom one, but the recent one I made shows the default one |
Beta Was this translation helpful? Give feedback.
-
I did the steps described here https://chirpy.cotes.page/posts/customize-the-favicon/ I can confirm, what @VisionTQ mentioned. I know this has to be addressed elsewhere, but as workaround I followed this blog post https://lbhoe.dev/posts/chirpy-favicon-customization-issues/ |
Beta Was this translation helpful? Give feedback.
-
The image stack from https://realfavicongenerator.net is not enough. You need to add:
Mine with dark/light favicon and fix the safari top browser color (#1066, #1483, #2148). ![]()
{% capture favicon_path %}{{ '/assets/img/favicons' | relative_url }}{% endcapture %}
<link rel="apple-touch-icon" sizes="180x180" href="{{ favicon_path }}/light/apple-touch-icon.png">
<link rel="apple-touch-icon-precomposed" href="{{ favicon_path }}/light/apple-icon-precomposed.png">
<link rel="icon" type="image/png" sizes="32x32" href="{{ favicon_path }}/light/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="{{ favicon_path }}/light/favicon-16x16.png">
<link rel="icon" href="{{ favicon_path }}/light/favicon.ico" type="image/x-icon">
<link rel="icon" href="{{ favicon_path }}/light/favicon.svg" type="image/svg+xml">
{% if site.pwa.enabled %}
<link rel="manifest" href="{{ favicon_path }}/light/site.webmanifest">
{% endif %}
<link rel="shortcut icon" href="{{ favicon_path }}/light/favicon.ico">
<meta name="apple-mobile-web-app-title" content="{{ site.title }}">
<meta name="application-name" content="{{ site.title }}">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="{{ favicon_path }}/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
---
layout: compress
---
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="{{ '/assets/img/favicons/dark/ms-icon-150x150.png' | relative_url }}" />
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>
P/S: |
Beta Was this translation helpful? Give feedback.
I did the steps described here https://chirpy.cotes.page/posts/customize-the-favicon/ I can confirm, what @VisionTQ mentioned.
I know this has to be addressed elsewhere, but as workaround I followed this blog post https://lbhoe.dev/posts/chirpy-favicon-customization-issues/