Brand Header adds an extra top header for branding with your logo, navigation links, and social icons for both mobile and desktop views. Brand logo can be an image or text.
List of FontAwesome 6 icons used in this theme component
show bar on mobile
plugin outlet
Using Font Awesome 6 Icons
To allow the Font Awesome 6 Icons to correctly display in this theme component, you will need to add them to 3 places in Discourse:
The svg icon subset Site Setting
The custom font awesome icons setting in the component
The icons setting in the component
Additionally, for some Font Awesome 6 Icons, you will need to specify a fa or fab prefix with the icon name (Ex: āfab-blueskyā), due to some icons being part of a specific subset of icons. See Weāre upgrading our icons to Font Awesome 6! for details about this usage.
Once youāve added those icons in all three places, you should see them correctly displayed in the brand header theme component.
Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.
One small issue. Currently, if a header link is internal to a site (e.g. to a particular category), if it is tapped in the responsive menu, the responsive menu will stay open. The expected behaviour is that the menu would close.
I am also seeing this issue for internal links, where the header does not disappear on mobile. Instead, the header slides right and leaves the main page opaque (I believe an overlay is being set), even if the header is folded back up.
In the mobile view, when we click on the hamburger menu, if then we click outside of the menu, the hamburger menu would be expanded even more, instead of closing. and also it has some other glitches. for example when hamburger menu is open and we click on a topic link.
I love this change, but on several sites where I use it personally, and on a hosted site Iām a moderator of (the NaNoWriMo forums) weāve been seeing some issues. Unlike the regular hamburger menu, if you try to swipe it away it bounces back onto the screen.
Iāve personally seen this on a fully updated Moto (g7) Power on Android 9 and on a fully updated iPhone 8.
There has also been at least one report of the menu opening on touches near the icon and not just on it, but Iāve personally been unable to reproduce that particular behavior.
I have had a query as to why the menu is not working on mobile devices. The user pressed on the left burger menu but then on a menu link - and his perception was it wasnāt working as the menu still filled most of the screen.
Iāve had to explain you need to touch somewhere on the right of the screen, to the side of the menu, to close it.
Would it be possible to make it more intuitive, either by:
Auto-closing the menu when you click on a menu link on mobile devices?
Including a āClose Menuā button on mobile devices?
Iāve been meaning to make a similar request. I often try to dismiss the menu on mobile by swiping it to the left. It appears to be working, but then it pops back into place. The other menus in Discourse it works to swipe them back to the side to dismiss them.
Based on the previous 2 posts, itās been broken for at least 5 months and no one has responded. Iām going to assume this theme component is dead unless someone says otherwise.