24 August 2026

The header gives way instead of overflowing

On a narrow phone, the header of one site in the estate demanded 399 pixels of width where the screen offers 375: cut-off button, page scrolling sideways. The fallback now has three outcomes instead of two, and not a single hard-coded breakpoint.

The header gives way instead of overflowing

The button was missing where the bar overflowed

The navigation decides to fold by measuring its own width. It was doing so too early: before the site's identity had arrived. Empty crest, bar judged to fit, and no menu button on two bands of width — from 556 to 691 pixels, and from 761 to 914 — where it was overflowing all the same.

The measurement is now redone every time what it reads changes. It is a short fix, and it holds for every site in the estate at once.

Forty pixels, below the minimum

The menu button was drawn as three bars inside a padding, which gave a 40 by 40 pixel target. The recommended minimum is 44 — and this is the only button that opens navigation on a phone.

It now carries an explicit 44 by 44 box, like the theme toggle beside it. The bars themselves have not moved by a pixel: this is not a change of drawing.

The fallback had only two outcomes

Once folded, the header kept a floor that nothing reduced: crest, site name, theme toggle, menu button. Measured on a club site at 375 pixels wide, that floor demanded 399 — the button ran half off the screen, and the whole document gained a horizontal scroll.

Below that floor, it is the identity that gives way: the text disappears when a crest takes over, otherwise the name is truncated. No breakpoint is written in pixels, because the floor depends on the site's name — “TEAMFIGHTER77” measures 151 pixels where another club will make 60.

Rolled out without a single conflict

Both fixes went out together in a template release, merged into the six customer repositories without any conflict — the differences specific to each site all fall outside the affected area, which had been measured before publishing.

The final check was made on the files served rather than on response codes, then in production at 375 pixels: no overflow, button entirely on screen, page served with its content and not as an empty shell.

A site for your trade?

Let's talk about
your shop window.

Before we talk about a site, let's talk about yours: give us its address, and you receive five written findings within 48 working hours. It is free, with no obligation to go further — you do what you like with them, including nothing.

My free review