Skip to content
Zero2Webmaster

Header · the logo-only state

The logo-only state, drawn for Zero2Webmaster

When the header would hold a usable logo AND no menu items AND the site name is not shown separately, draw no bar. The logo sits at the top-left of the first section, above that section's first element.

How it behaves

  • Condition: logo.src is set and the file exists.
  • Condition: nav is empty and there is no CTA group.
  • Condition: siteName.show is false.

When to use it

A one-page site, a reference page, or any page with a logo and nothing to navigate to. The bar would spend the first screen on one image.

Source. directives/build_and_dev.md → Site-wide page rules #2 (2026-09-23); first applied on /z2w-us/; implemented by site-control v0.65.0

What this page is showing

Every page in the kit carries all three components, so the one under review is seen in a real page rather than in a card. This page's three presets, and the brand they are drawn in:

Header
Classic bar preset, resolved to the logo-only state: no bar is drawn
Mobile menu
Sheet
Footer
Minimal footer
Brand
Zero2Webmaster — primary #82C92B, accent #FFD700, Plus Jakarta Sans
Breakpoint
1010px: the bar's links show from there up; below it the sheet menu takes over
Client script
none — every disclosure is a details element