@Panda You’ll need to do that with js. With some quick CSS changes, it looks like this
d619844f-fbfe-4cf1-a283-6b7364f6bf18-image.png
The colour choice is still really hard on the eye, but at least you can now read the text
Hi,
I am trying to load a 512x512px favicon to my NodeBB forum, but it doesn’t go past the below status:
The above is a PNG file.
Then, I attempted an upload with a 48x48 .ICO file and that loaded successfully. But it isn’t loading the image on the site though.
I’ve been reading a thread on NodeBB forum where someone had a similar issue.
How can I fix this issue? I had this issue in both V2 and now in the V3 versions. I have attempted reload and refresh a few times, but it isn’t helping.
@mventures Having taken a look at this, the favicon.ico
file is required in two places to work - one is in /public/uploads/system
and the other is in public
at the root level - see below
I’ve tested this against a favicon checker, and it now works - I used the one you uploaded for the touchicon to generate it.
@mventures This issue is a common one, and likely because nginx
is caching the values it already has. The fastest wat to fix this would be to
sudo service nginx restart
and press enterThis will cause nginx
to restart, and should also empty the cache. Then see if this resolves the issue.
@phenomlab Would this route work as it seems simpler: Go to ACP > Advanced > Cache?
@mventures No. The nginx
server it the web server itself. The ACP is the NodeBB application - they are completely seperated.
@phenomlab Oh my! Sounds scary again. I read this old post about SSH, and I am not so sure if I want to take any risks
https://sudonix.com/topic/391/secure-ssh-connectivty?_=1680516532796
I am back - I read the SSH documentation and looks like a “no, can’t do” for me, unless I get handheld training followed by a bit of practice, I don’t think I can do it. Unfortunately/fortunately, I will need to trouble you again for this cache clearance. (FYI - I have a list of coffees owed, and this one is in it)
@mventures Having taken a look at this, the favicon.ico
file is required in two places to work - one is in /public/uploads/system
and the other is in public
at the root level - see below
I’ve tested this against a favicon checker, and it now works - I used the one you uploaded for the touchicon to generate it.
Hey @phenomlab, Thanks for looking into this! Did you make the change?
Because I can still see the BB logo as the favicon on the desktop (safari, chrome) and the mobile.
But on an iPad, I can see my favicon.
I have the same problem. I never managed to solve it.
There is always a moment when I see that of NodeBB when I have nowhere on the server (nginx cache dump, cloudflare, nodebb, etc…)
@DownPW Yes, it can be sporadic, but in the case of @mventures it should be resolved.
For example, viewing the site in incognito mode
And also checking with several favicon
testers
@mventures can you try with a browser you’ve never used before, or perhaps an incognito tab? If that doesn’t work, also try the below
@phenomlab I am on a Mac, so I used the “Option + Command + I”, and then performed the steps. It loaded my favicon! I checked on Firefox which I haven’t used before, and it showed my favicon also! That’s fantastic and thank you for the help!