Big Header - Little Header

Just a heads up to anyone using this component - I pushed an update that makes it compatible with the core changes that were made to the Discourse header. Let me know if you find any lingering issues. I plan to do a larger refactor when time permits, but hopefully it’s in working condition again.

cc @Alec (since you reported the issue)

3 Me gusta

Hi! I find this works great on desktop / tablet platforms but on mobile it overrides the search / hamburger / user profile buttons (and Log In…if not logged in).

The buttons are all displayed, but they are not clickable because the hyperlink of the logo is taking precedence.

EDIT >> Fixed with the following CSS.

a#logo-link {
    margin-top: 40px;
}
1 me gusta

Hey, I really love this but I would also like to change the size of the small logo! In the theme/component I can only change the size of the big one. What is the most straightforward way to change the size of the standard logo too?

If I’m understanding you correctly, you should be able adjust the normal logo’s size by adding the following CSS rule to a new local component (e.g. “Big Header - Little Header Customizations”) you create on your site.

.scrolled-down .d-header #site-logo {
   height: 1.57em;
}
1 me gusta

So - there is no way on the Big Header, Little header to have different header Logos for mobile and desktop?

1 me gusta

Anyway to set an alternate logo for dark mode?

1 me gusta

These are good suggestions and shouldn’t be too difficult to support. I’ve got a lot on my plate at the moment, but will try to dig in soon.

2 Me gusta

Thanks! I love the big header/little header theme component on desktop but sadly without mobile support its really hard to use (50%+ of my traffic is mobile). Looking forward to the update.

1 me gusta

Solo estoy revisando… Todavía me encantaría implementar esto en mi sitio, pero necesito que también sea compatible con dispositivos móviles, ya que esa es la mitad del tráfico en estos días.

1 me gusta

Gracias por el seguimiento. Acabo de completar algo de trabajo en el componente Category Previews. Lo siguiente es el componente Versatile Banner, luego podré abordar esto.

Desafortunadamente, ese plato que mencioné todavía está bastante lleno :sweat_smile:

3 Me gusta

Tengo muchas ganas de que llegue cuando tu plato esté menos lleno :grinning:

1 me gusta

Salvo circunstancias extremas, haré tiempo la semana que viene. ¡Has sido muy paciente!


¡Actualización! Tengo los logos para móvil y específicos para modo oscuro funcionando localmente. Solo quiero asegurarme de probar todo a fondo. Hay muchos escenarios diferentes que incluyen diferentes opciones de recuperación, así que quiero asegurarme de hacerlo bien. ¡Debería estar listo muy pronto! (Esta semana se me escapó, espero poder terminarla la semana que viene)

3 Me gusta

Genial, muchas gracias…

OK, ¿actualizo e intento de nuevo ahora?

1 me gusta

Todavía no. Aún no he confirmado los cambios. ¡Las pruebas finales deberían hacerse mañana!


Ok @BCHK y @ncaming215, hay mucho más que debería hacerse con este componente eventualmente, pero pude agregar soporte para logotipos oscuros/móviles con las siguientes confirmaciones:

Por favor, actualice el componente y hágame saber si nota algún problema.

4 Me gusta

Funciona bien en el móvil, pero parece que no es compatible con la nueva barra lateral en el escritorio con el tema predeterminado.

Avísame si se necesita más información, pero creo que no hay nada más especial en mi instalación aparte de la barra lateral.

1 me gusta

Todavía hay problemas con la barra lateral, como señaló DonH en el mensaje anterior.

Sería muy bueno tener este componente. Mi logo se ve muy pequeño en el encabezado predeterminado.

Saludos cordiales,

1 me gusta

Hola, ¿esto todavía funciona?
Cuando activo el componente, mi logo en la cabecera desaparece por completo a pesar de que tengo imágenes subidas para:

url del logo para móvil
url del logo oscuro
url del logo para móvil

Por ahora, puedes considerarlo como roto. El componente no se ha actualizado en dos años y han ocurrido muchos cambios en el núcleo. A primera vista, requeriría, como mínimo, algunos ajustes de CSS.

¿De quién es la responsabilidad de etiquetar los componentes temáticos, los complementos, etc. como rotos (autor?).

Lo he marcado como #roto por ahora. ¡Se aceptan PRs para arreglarlo! Desafortunadamente, no tengo tiempo para investigarlo en este momento.

2 Me gusta