What makes spacing feel consistent across a website?
Open a service page, then a second page describing another service. Perhaps both use the same type and colours, yet the heading on the first sits neatly above its introduction while the second seems to float away from it. The content may be fine. The distance between its parts is telling a different story on each page.
Consistent spacing means repeating the same relationship where the job is the same. A caption stays close to its photograph. A new section gets enough separation to announce a change of subject. The distances can change on a smaller screen, and a campaign page can have a more dramatic layout than an appointment page. What matters is that the relationships remain recognisable.
In my earlier article on white space in web design, I looked at what empty space does on a page. Here I want to look at what happens when those choices have to hold up across a whole site, including after someone adds a page or changes the text.
Give repeated gaps a job
A small business site usually has a few recurring relationships. There is the gap between a heading and its opening paragraph, between paragraphs, between items in a group, and between one section and the next. Each helps a reader make a slightly different decision. They can tell where an explanation begins, which items are peers, and when the page has moved on.
Nielsen Norman Group describes proximity as the tendency to perceive nearby elements as related. It is easy to demonstrate with a service list. Set a title close to its description and leave a more generous gap before the next title. You can now see which description belongs to which service before reading the text. Apply that same relationship on the next page and the visitor already knows how to scan it.
Consider a practice with pages for payroll, bookkeeping and annual accounts. The titles will vary in length and some introductions may need an extra line. There is no reason for the paragraphs on all three pages to start at the same vertical coordinate. There is a good reason for them to sit the same distance below their respective headings. The second rule survives an edit naturally; the first may require someone to keep nudging the layout every time the copy changes.
The same thinking applies in a shop. Give product names and prices a stable relationship, and pay particular attention to cards that wrap onto another line or include a note about availability. A tidy row of cards built from sample content tells you little about what will happen when a real product name runs to three lines. The design has to make sense when the contents differ.
Build a short scale around the pages you have
A spacing scale is a short list of reusable distances. You might have a close gap used for labels, a comfortable gap for related items, a larger gap for neighbouring groups and a section gap for changes of subject. The names help a designer or editor choose deliberately. “Close” tells you more about the purpose than “the value we happened to use last Tuesday”.
Start by looking at what is already doing a useful job. On a service site, I would typically compare the main service page, a contact or booking page and one article. These contain different sorts of content, so they make it easier to separate a rule that applies widely from a decision that belongs to one particular composition.
For a simple illustration, you might try 8 pixels for a small label gap, 16 for a gap within a group, 32 between groups and 64 between larger sections on a roomy screen. Those are example starting points. The text, type size and amount of available space should inform the final values. If two choices produce almost the same result everywhere you use them, one will probably do. If a particular layout repeatedly needs an intermediate value to work, give that value a name and a clear job.
A scale pays for itself when someone has to add something later. If a new service is built from the same layout as its neighbours, the editor can concentrate on the service itself. If every page has a different numerical recipe, the next person has to infer the pattern by looking at pages that may already have drifted apart.
Work out which part of the layout owns each gap
Suppose the boundary between two sections looks generous on one template and enormous on another. The second might have space below the first section, space above the next section and an empty block someone added while adjusting the page. The symptom is one big gap. The cause is several settings trying to solve the same problem.
In a WordPress or Divi layout I would look at the container that holds the related items first. For example, a group of service cards can use a single gap setting between the cards. The cards can then look after their own internal padding, which is the space between their content and their edges. If the gap belongs to the group, a new card can join that arrangement without bringing a private set of spacing rules with it.
It helps to distinguish the outside edges of the page from the gaps inside it. When headings and photographs start at different distances from the edge on otherwise similar pages, adjusting individual headings merely hides the mismatch. Agree the normal content edge at the template or container level. Then let individual elements align to it unless there is a clear design reason to move them.
Do you need to rebuild a site when its spacing has become uneven? Usually I would check a handful of representative templates first. If they share a sensible underlying structure, a repair to the common layout may improve most of the site. If every page is built differently and content regularly breaks at smaller widths, a shared set of templates may be a better investment than repairing each gap in isolation.
Keep the relationships when the screen gets smaller
A desktop layout spreads some of its information sideways. On a phone the same pieces may stack in a single reading column. A wide gap that once separated two columns might become a tall stretch of empty screen, while a button that used to sit beside a description could now look as though it belongs to the next section.
Review the page in its new order. Give related items enough closeness to read as a group, then use a clearly larger break for a different topic. A reduced section gap can make a mobile layout feel more purposeful without crowding the contents. The spacing within a form, by contrast, may need to stay comfortable when the page becomes narrower, particularly around the label, field and any help or error text.
Test the content with long headings, different image proportions and one more item than you originally designed for. A service card that relies on a fixed height may clip a description or put a button over the text when the user adjusts how it reads. W3C guidance on text spacing describes the need to preserve content and functionality when a reader overrides text spacing. The guidance concerns how a design responds to those changes; its test values are not a prescribed default for how the text should look.
Consistency also leaves room for the occasional deliberate break. A strong image can sit closer to the edge on a homepage, or a distinctive opening can overlap elements where there is space to do it well. Decide how the idea should behave on a smaller screen. If its meaning depends on holding the same overlap at every width, it may need a simpler arrangement for part of the range.
Check the page where customers make a decision
You can get a useful first impression without measuring every gap. Choose a page with a clear purpose, such as asking for a quotation or arranging a consultation. On a phone, scroll past the headlines at a normal pace. Where does one subject seem to become another? Can you see which explanation goes with the button? If a group looks confusing, check its distances before adding new colours or decoration.
- Compare two pages with the same purpose. Look for gaps serving the same job but appearing markedly different, especially around introductions, repeated items and contact actions.
- Inspect one unusual example. Use the longest service name or product title, a real image with a less convenient crop, and a page that carries an extra line of supporting information.
- Change one shared setting where feasible, then check the pages that inherit it. Notice whether the change solved a common problem or exposed a case that needs its own rule.
A couple of small, repeatable changes may achieve more than spreading the work across every page at once. For example, a booking link could be moved closer to the paragraph explaining who the consultation is for, while the following section is given more separation. The reader can then see the decision as a unit. If the same contact block appears on several pages, the improvement can carry through to each of them.
There is a role for professional judgement here, particularly where spacing and content are intertwined. An introduction may feel crowded because it is trying to do three jobs in one paragraph. A lonely button may need clearer wording about what follows, as well as a better position. I would look at the content, template and enquiry route together before choosing which setting to change.
If your pages have grown piecemeal and you want them to feel more coherent, I can help review and improve the layouts on an existing WordPress website. A few representative pages are a useful starting point for deciding which patterns to keep and where a more considered layout would help.
Important note
This article provides general information and professional commentary. It is not advice tailored to your particular business, website or circumstances, and it should not be treated as legal, financial, privacy, accessibility, cybersecurity or other specialist advice. Any opinions are my own professional judgement based on the information available when the article was researched.
Products, prices, services, software and official guidance can change. External links are provided for reference; I do not control third-party websites and cannot guarantee their continuing availability, accuracy or content. A link does not imply endorsement of everything published by that source.
Check current official information before making an important decision. Test technical changes safely, keep a verified backup, and obtain appropriately qualified advice where the consequences warrant it. Any sponsorship, free product, affiliate link or other commercial relationship relevant to the article will be clearly disclosed.




