The same header icon as before:
This time upgrade from 2.0.0 to v2.3.0.beta2 +206
Resulted: icon is still the right size and highlights properly, but the lightning is not visible anymore. I wonder what happened here?
The discussion revolves around an issue where the header icon became invisible after upgrading from Discourse v2.0.0 to v2.3.0 beta2. Silvanus identified the problem as related to the transition to Font Awesome 5 and SVG icons mentioned in the meta post. By following a guide and adding fa-bolt to settings, Silvanus resolved the visibility issue. The conversation then shifted to changing the color of the top buttons, with cpradio suggesting to target the SVG element with CSS. Silvanus noted inconsistent color results and shared a file showing the issue. awesomerobot provided a CSS solution to override default color adjustments, which Silvanus confirmed worked perfectly, resolving all header problems.
The same header icon as before:
This time upgrade from 2.0.0 to v2.3.0.beta2 +206
Resulted: icon is still the right size and highlights properly, but the lightning is not visible anymore. I wonder what happened here?
Can be the reason in this?
This is very likely. I will proceed with testing…
I used this as a guide and managed to fix it: Introducing Font Awesome 5 and SVG icons - #27 by tshenry (Also added fa-bolt to settings…)
Now I’m pondering how to change colour of the top buttons…
You need to target the SVG element and apply color to it using CSS.
I’m already getting a colour change by changing the colour scheme of the entire site. However, if I set the color of the top texts and icons to ffffff, they appear grey; if efffff, they appear quite blue…
weird colours.pdf (1.1 MB)
By default we adjust the colors to reduce contrast against the background. You can override this behavior with CSS (add to admin > customize > themes > edit html/css > common).
ul.d-header-icons .d-icon {
color: #fff;
}
Thank you, it worked like a charm!
All header problems fixed! ![]()
(switched this to a brand new topic)