Brand Header agrega un encabezado superior adicional para la marca con tu logotipo, enlaces de navegación e iconos de redes sociales, tanto para vistas móviles como de escritorio. El logotipo de la marca puede ser una imagen o texto.
Enlaces de texto que se mostrarán en el encabezado
iconos
Enlaces de iconos que se mostrarán en el encabezado
iconos personalizados de Font Awesome
Lista de iconos de FontAwesome 6 utilizados en este componente de tema
mostrar barra en móvil
salida del complemento
Uso de iconos de Font Awesome 6
Para permitir que los iconos de Font Awesome 6 se muestren correctamente en este componente de tema, deberás agregarlos en 3 lugares de Discourse:
La configuración del sitio subconjunto de iconos SVG
La configuración iconos personalizados de Font Awesome en el componente
La configuración iconos en el componente
Además, para algunos iconos de Font Awesome 6, deberás especificar un prefijo fa o fab junto con el nombre del icono (por ejemplo: “fab-bluesky”), ya que algunos iconos forman parte de un subconjunto específico de iconos. Consulta Estamos actualizando nuestros iconos a Font Awesome 6! para obtener detalles sobre este uso.
Una vez que hayas agregado esos iconos en los tres lugares, deberías verlos correctamente mostrados en el componente de tema Brand Header.
¿Alojado por nosotros? Los componentes de tema están disponibles para usar en nuestros planes Estándar, Empresarial y Empresarial Plus.
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.
Basado en las 2 publicaciones anteriores, ha estado roto durante al menos 5 meses y nadie ha respondido. Asumiré que este componente temático está muerto a menos que alguien diga lo contrario.