Custom Favicon Not Showing
-
Try clearing the cache on your browser.
-
@pitaj said in Custom Favicon Not Showing:
Try clearing the cache on your browser.
I did, multiple times. The issue still persists.
-
Okay I didn't see it mentioned. Wish I could help you further, sorry.
-
@teemberland huh. I have had this issue before, when I applied it, it still wouldn't show. After a few days, it started working after no changes. Sounds like something cache-related, but I never cleared it. I guess just wait.
-
@teemberland do you get the same issue in another browser or within an incognito session ?
-
@phenomlab said in Custom Favicon Not Showing:
@teemberland do you get the same issue in another browser or within an incognito session ?
Yes, the same issue in incognito mode/private mode. And yes, the issue occurs in Chrome, Firefox and Safari.
It's strange, that the favicon would appear randomly as I navigate around the forum. Say from forum index > Go to a category > Go to random topic then favicon would show. But as soon as I hit refresh, favicon reverts to default favicon and the notification counts disappears.
-
@baris said in Custom Favicon Not Showing:
Can you post a link to your forum? Also check if the correct favicon is in the following paths
/path/to/nodebb/public/favicon.ico
/path/to/nodebb/public/uploads/system/favicon.ico
Hi @baris,
I'm seeing the default nodebb favicon in /nodebb/public and I'm seeing our custom favicon in /nodebb/public/uploads/system
Here's our forum link https://forums.theshow.com/
-
When I look in Chromium, I see the incorrect NodeBB favicon
-
@baris I replaced the default favicon with our custom one and it appears that fixed the issue. I will continue to monitor it.
NOTE:
Haven't restarted & rebuilt the forums. I only replaced the favicon image in nodebb/public
EDIT:
I still see the default favicon on random refreshes of the page. The notification counts also is a hit or miss still. Also, when sharing post to external sites/apps, I'm still seeing the default nodebb favicon.
-
@baris said in Custom Favicon Not Showing:
Did you restart nginx and nodebb after replacing the favicon? The icon is cached by nodebb so a restart is necessary.
I was able to restart nginx and nodebb (and rebuild) and the issue still persists. Any other ideas on how to fix it?
Behavior:
- Go to forum home - you may or may not see the custom favicon
- Go to any category
- Go to any topic
- Custom favicon should appear
- When you navigate back to forum home or any other topics, the custom favicon persists.
- Hit refresh, it reverts to default favicon
Which is odd because nodebb/public and nodebb/public/upload have the same favicons.
-
@baris said in Custom Favicon Not Showing:
The issue seems to happening because of the touch icon being loaded and replacing the favicon I think.
Hi @baris, thank you for your suggestion. Our custom favicon is now showing consistently. It is very odd though. Is it suppose to fall back on touch icon, if favicon is somehow unavailable? I thought it was the other way around?
This might be hard for you to replicate, but do you know why the notification count does not show consistently? I have to go to a topic in order to load my notification count (on the bell icon). Once I go back to forum home, the notification count goes away.
-
I am facing the exact same issue. I have uploaded a 48x48 .ICO file but it's not showing up. I am on V3 NodeBB using Harmony.
By the way @Teemberland : How did you get all that text and logos at the bottom of the forum for your website? It's neat and I would like to have a similar setup also.