Faragiri
English

Choose a language 2

Learn Mobile first Responsive design

A Kilkenny council site where the opening hours were hidden below 700 px, and the switchboard's most asked question for three years was what time it closes.

6Sections
4Min read
4Depth

Recommended Before This

0 / 2

At 390 px there is room for one thing at a time, so the order has to be decided. That is the whole argument for the direction: it is not about phones being important, it is that a narrow screen refuses to let a team avoid a decision it would otherwise never make.

Aoife is rebuilding a county council's site in Kilkenny. Bin days, planning notices, opening hours, news, a payment link, and eight sessions in ten arriving on a phone.

Two directions, two different documents

Cutting down hides, and the choice of what to hide is made by whoever implements it. The wide design has eleven things in a header and a sidebar; at 700 px four of them do not fit; somebody at a keyboard on a Thursday decides which four.

One council site

The same eleven items, approached from two ends

Both produce a site at both widths. They differ in who makes the decisions and in what the decisions are about.

Cutting downstart wide with eleven items and hide four below 700 px
Designing upstart with five on a phone and justify each addition
Starting scopeeleven items in a header and sidebarfive essential items on a phone screen
What happens at 700 pxfour items do not fit and vanishthree items added with stated reasons
Who makes the cutwhoever implements it on a Thursdaythe team signing one priority list
The planning artefactnone, settled ad hoc during buildeleven ranked items written in twenty minutes
The leftover itemshidden by layout pressurethree never added by deliberate choice

Neither column is free of failure. The right hand one loses things too, and it loses them in a document that somebody signed rather than in a stylesheet on a Thursday afternoon.

Modular Type Scale & CSS Flex/Grid Motion Lab

Test harmonic typography ratios and live Flexbox/Grid layouts with 1-click CSS export.

Designing up adds, and each addition needs a reason. The phone version had five things and the desktop added three, and each of the three arrived with a sentence saying what the extra room is buying. The other three were never added, which is a decision somebody made rather than a consequence of a screen size.

So write the priority order as a numbered list before opening anything. Eleven items, ranked, in a document. It takes twenty minutes, everybody argues about it once rather than eleven times, and it is the artefact that makes both versions defensible.

What the direction does to the code

Min-width queries add and max-width queries subtract. That is a real structural difference and not a stylistic one: a stylesheet whose base styles are the narrow layout adds rules as the screen grows, and one whose base is the wide layout carries every desktop rule as a default and overrides it downward.

Code weight

Five hundred override lines for identical output

Starting from wide defaults forces the narrow stylesheet to carry every desktop rule and cancel what does not fit.

lines of CSS in the desktop-first stylesheet (1,400 total)

  1. Base layout rules900
  2. Downward override rules500

Mobile-first needed 900 lines for the same page, and avoided downloading a hidden 240 kB hero image on phones.

The same page was 1,400 lines desktop first and 900 mobile first, for identical output. The extra 500 lines are overrides, and every one of them is a place where two rules disagree and the winner depends on order.

Then the part that is measured rather than argued: a hidden image is still downloaded. A 240 kB hero set to display none on a phone arrives on the phone, over the phone's connection, and is then not shown. Designing up means the phone requests the phone's image, and the larger one is loaded when there is a screen to justify it.

What does not change

The content, its order and its words do not change between widths. That is worth stating because it is where the two directions are most often confused: designing up is not writing a shorter page for phones.

Content parity

The words stay fixed while the shell adapts

Designing up rearranges blocks across screen sizes without trimming sentences or cutting pages for phones.

  1. Same sentences and orderScreen layoutpanels and columns shift to match available room
  2. 02Single shared pageavoids a second stripped phone site that goes out of date within a year

A shorter phone version quickly drifts from the desktop site because nobody maintains two copies for long.

The same sentences, in the same order, arranged differently. A phone version with less content is a second site, maintained by nobody, and out of date within a year.

What to open

Min-width media queries are the tool, part of the language and free, and they replace a stylesheet whose default is the widest screen and whose overrides run downward. It is one keyword and it changes the shape of the entire file.

What to open

Two checks that replace guesswork on narrow screens

Both tools ship with the browser and expose downward overrides and wasted image downloads before release.

Verify narrow-first code and assets

  1. YesWrite min-width media queriesbase rules describe the narrow screen and add upwardYes
  2. YesFilter Network panel to images at 390 pxconfirm every downloaded asset actually renders on screenYes
  3. NoRely on display: none to skip image fetcheshidden desktop images still arrive over the phone's connectionNo

Any asset listed in the 390 px network log that never appears on screen wastes bandwidth on the weakest connection.

The browser's network panel, filtered to images, is the check, free, and it replaces assuming that display none means not downloaded. Load the page at 390 px and read the list: anything arriving that is not on the screen is bytes spent on the connection least able to spare them.

Where it stalls: the artboard that opens first

The artboard everybody opens first is the one the size of the screen it is drawn on. A designer works on a large display, the file opens at desktop width, and the first version of anything is the wide one.

Where it stalls

Opening a desktop artboard first locks in subtraction

Even teams committed to designing up fall back into cutting down when the first file matches a wide monitor.

The wide layout is always easier to produce second; reversing the review order fixes the habit mechanically.

Everything after that is a reduction, whatever the process document says. The phone version is drawn second, from the desktop one, by removing, and the removals are decided by what fits rather than by what matters. The team can be entirely committed to designing up and still produce a cut down, because the order the artboards were made in decides it.

The fix is mechanical: make the narrow artboard first, review it first, and present it first. The wide one is easier and nobody has ever failed to produce it.

What it looks like when it goes wrong

On the council's previous site the opening hours were one of the four the phone hid. They lived in the header on a wide screen, they did not fit below 700 px, and the implementation removed them. Eight sessions in ten were phones. The single most common question at the council switchboard, for three years, was what time the office closes, and the answer was on the website for anybody with a laptop.

When it goes wrong

How opening hours disappeared for three years

Cutting down below 700 px pushed essential information off the screen that eight in ten visitors used.

  1. 01Wide headeropening hours sit in the desktop bar
  2. 02Below 700 pximplementation drops four items, including hours
  3. 03Eight in ten on phonesmost visitors never see the header item
  4. 04Switchboard callstop caller question for three years was closing time

The answer stayed live for laptop visitors while phone visitors had to phone the council office to ask.

The width at which the four items stopped fitting is a break with a reason behind it, which is where the layout changes, and why there. Everything that survives to the narrow version has to be operable by a thumb, which is sizes and spacing for a thumb. And the eleven item priority list is really a question about what the site is for, which is getting anywhere from anywhere. What else changes across screen sizes is one level up, in one interface, every screen size.

Alongside this

Above this