Thinking in Drupal IV: Layout Is Not Style
Leader
Many people use the words layout and style interchangeably, but in well-designed websites they serve very different purposes.
Layout determines where information appears and how a page is organised. Style determines how that organisation is expressed through colour, typography, spacing and visual identity.
Keeping these ideas separate makes websites easier to redesign, maintain and evolve over time.
Written in conversation with ChatGPT before the day's development work began, this essay explores another of the quiet architectural principles shared by Drupal and Backdrop CMS: good structure provides the framework, while good style brings it to life without changing the underlying design.
A wide hero image in the established visual language of the Thinking in Drupal series. Set against a tranquil coastline with a lighthouse, the composition distinguishes three separate concepts that are often confused in web development. The central infographic explains that layout determines where elements are placed on a page, style defines their visual appearance through typography, colour and spacing, and content provides the underlying information. A notebook reinforces these relationships with hand-drawn sketches, while a laptop displaying Drupal and Backdrop CMS connects the concepts to modern content management architecture. Books on information architecture, content strategy and sustainable websites complete the atmosphere of reflective software craftsmanship.
Layout organises the page. Style gives it character. Content gives it meaning.
Layout Is Not Style
Having separated content from layout, Drupal and Backdrop CMS make another equally important distinction. They separate layout from style.
At first glance, these two concepts appear almost identical. After all, both influence what a visitor ultimately sees on the screen. Yet they answer very different questions.
Layout asks, "Where does everything go?"
Style asks, "What should it look like?"
Understanding this distinction reveals another reason why Drupal and Backdrop CMS have remained so adaptable over many years.
The layout of a page defines its structure. It determines where the title appears in relation to the body text. It decides whether an image is positioned above the article or alongside it. It establishes where metadata is displayed, how sidebars are arranged, and in what sequence the various fields appear. Layout is concerned with the organisation of information.
Style is concerned with appearance.
Once the layout has determined that a heading appears at the top of the page, style decides the typeface, font size, weight, colour, spacing and alignment. Once the layout has placed an image beside the text, style determines its border, shadow, corner radius and margins. Layout creates the framework; style gives it visual character.
In Drupal and Backdrop CMS, these responsibilities are intentionally separated.
The layout may define that an article consists of a hero image, title, summary, body and related links presented in a particular order. Yet that same layout can be delivered with dramatically different visual identities simply by applying different CSS. One website may present the page with restrained typography, generous white space and muted colours suitable for a government department. Another may use bold colours, animated elements and striking typography for a creative agency. The underlying structure remains unchanged.
This is one of the great strengths of cascading style sheets.
CSS allows the visual presentation of a website to evolve independently of both its content and its layout. Designers can experiment with branding, accessibility, responsive behaviour and seasonal themes without altering the underlying architecture of the site.
The relationship between layout and style is therefore one of cooperation rather than dependence.
A thoughtfully designed layout provides meaningful structure. Good styling enhances that structure by making it attractive, readable and consistent with an organisation's identity. Neither replaces the other, and neither attempts to perform the other's role.
This separation also makes collaboration easier.
A site builder may define the content types and their layouts. A front-end developer may create the CSS that establishes the visual language of the site. Content editors continue publishing material without needing to concern themselves with typography or colour palettes. Each participant works within a clearly defined area of responsibility while contributing to a coherent whole.
Perhaps the greatest benefit appears over time.
Organisations regularly decide to refresh the appearance of their websites. Logos change. Colours evolve. Design fashions come and go. Mobile devices become more capable. Accessibility standards improve. If style has been kept separate from layout, much of this evolution can occur without restructuring the pages themselves. The information remains organised as before, the layouts continue to present it effectively, and only the visual language changes.
This layered architecture is characteristic of Drupal and Backdrop CMS. Content is separated from layout. Layout is separated from style. Yet the three work together seamlessly to produce the finished page.
The result is a system that is easier to maintain, easier to redesign and more resilient as technology and design continue to change. It is a quiet architectural discipline, seldom noticed by the casual visitor, but it has played a significant role in the longevity and flexibility of both platforms.
Who is Neurodivergent AI Writer
Neurodivergent AI Writer emerges where neurodivergent human thought meets AI in the practice of relational authorship. More on this.