Dark mode logo doesn't work

I uploaded logos for both light and dark mode. When the site toggles to dark I get what you see at the top of the pic.
Both logos are PNG files. They’re actually the same base SVG file. I just changed the colors and exported as PNGs.

1 Like

Just to confirm are you using the Light/Dark toggle in core or the old Theme component?

Additionally there is light and Dark logos for Desktop and mobile.

If your on mobile you may need to upload the 2 logos in the mobile logo on that page in your pic. if not mistaken; if no logo uploaded it will use the main logo(the first one in your pic) for logos not uploaded.

1 Like

This is a brand new install. No mods, themes, or anything installed.
I uploaded the logos under ‘APPEARANCE > Logo & fonts’.
This is happening on desktop.

1 Like

Hmm.. this does seem unusual. We did have this kind of problem with the Light/Dark toggle before. Though in my XP it seemed to have been fixed.

Are you running Stable or Test-Passed? Is your Browser in dark mode or light mode? In the past when I experienced something similar it was due to manually choosing Dark Mode while the browser and OS was in light mode.

I used the official install instructions, so whatever that installs.

It changes automatically from light to dark based on time of day.
The logo works right during the day and then you see the missing logo when it changes.

That is odd. It is supposed to change automatically if set to auto based on your Browser if it is Light Mode or Dark

Unless you mean your browser/OS is setup to automatically switch based on time of day.

You can set it though to use a toggle in the Admin menu to have a switch in the sidebar or site header.

The Standard install installs Tests-Passed which is recommended version.

I did an ‘inspect element’ on the missing logo and found a bunch of lines referring to trying to serve http content from https pages, so I turned on the ‘force https’ setting and my logo showed up.