Awaiting feedback Issue woth logo on System/Light/Dark change @2.3.6 - what to do?

NHUN

Member
Licensed customer
Affected version
2.3.6
Hi Guys!
I have a logo set on my forum and the issue is that it alawys select the "normal" logo on System settings even if the System tell it to be dark or White.
If it is selected manually for Light it picks the 1st logo (normal logo) if it is to dark theme it will seleect the "alternative logo" link.

Why is it an issue? Because if my system settings is dark it will automatically pick the dark logo as "system" settings, but the logo is also the same as if it was for "Light" theme (manually).
So the logo is not visible.

It is also the case for other themes like Xenfocus themes.
Any suggestion?
Thanks.
 
Sometimes if I switch from light to system (system set to dark) I have to refresh the page to get the logo to update. Other than that one-off circumstance, though, it works just as expected for me on XF 2.3.6.

I do use the default style, though, so that may be why.
 
Sometimes if I switch from light to system (system set to dark) I have to refresh the page to get the logo to update. Other than that one-off circumstance, though, it works just as expected for me on XF 2.3.6.

I do use the default style, though, so that may be why.

You can test it on my site:
It still doesnt work for me :/


Light theme = dark logo :)
Dark theme = light logo :)
System (dark set) = black logo :(

I hope you get what my issue is.
 
You can test it on my site:
It still doesnt work for me :/


Light theme = dark logo :)
Dark theme = light logo :)
System (dark set) = black logo :(

I hope you get what my issue is.

Yes, I get what the issue is. I think my point was that it's possibly not a bug in XenForo, but an issue with your style. You may need to contact the style developer.
 
Yes, I get what the issue is. I think my point was that it's possibly not a bug in XenForo, but an issue with your style. You may need to contact the style developer.
Yeah, but it still present for the default topic so it doesnt seem like a theme bug, but a Xenforo issue.
 
Yeah, but it still present for the default topic so it doesnt seem like a theme bug, but a Xenforo issue.

I'd assume something in the default style has been changed or there is an add-on affecting it. I'm running 2.3.6 on multiple other sites and I'm not having this issue on any of them. It's also not an issue on this site.
 
I am not able to reproduce this on a demo.

The dark logo is correctly displayed when the device is set to dark mode.

 
Automated triage: Awaiting feedback

Thank you for reporting this issue. Under System, the page includes both logos and the browser picks the dark one when your device is in dark mode, the same check it uses for the dark colours. This could not be reproduced on a clean installation, so we need a little more detail to look into this.

  • Does the problem still happen on the current version with the unmodified default XenForo style and all add-ons disabled?
  • With System selected and your device in dark mode, view the page source: does the header logo's <picture> element contain a <source ... media="(prefers-color-scheme: dark)"> line?
  • Do you use a CDN or page optimisation service (for example Cloudflare minification or Rocket Loader, or a LiteSpeed or image-optimisation plugin) that could rewrite the page HTML?
  • In the style properties, where did you set the light logo and the dark logo: in the default value of the Public logo URL property, or in a variation value? And is the variation you use as Dark set to the dark style type?

This is an automated assessment. A member of staff may review and update it.
 
Back
Top Bottom