Spacing belongs to the page, not the module. How the zero-margin principle keeps layouts predictable across every section.
Open any long-lived website and inspect the spacing: odds are it is a pile of margin overrides fighting each other. That fight starts with one design decision — so we made the opposite one.
Spacing is a layout decision
Every Peerless module renders with no outer margins or padding of its own. That sounds like a small implementation detail; it is actually the reason layouts stay predictable as your site grows.
When modules carry their own spacing, two modules stacked together produce arbitrary gaps, and editors fight the theme with negative margins. When spacing belongs to sections and columns, the page editor controls rhythm in one place.
What this means for editors
Set vertical spacing on the section, not the module. Duplicate a section and the rhythm stays. Move a module between columns and it never drags stray whitespace along with it.
The one rule to remember
If you are reaching for spacing controls on a module, stop and set it on the section instead. Your future self, duplicating that section onto a new page, will thank you.
Curious how the theme keeps its CSS this disciplined? Read about the ITCSS layers that structure every stylesheet in Peerless.
About the Author
Founder, Developer, Marketer of Sports Page.
Comments
July 20, 2026
Four CSS Classes That Make Peerless Blog Posts Easier to Read
Four utility classes already built into Peerless let you float images, caption them, and stack link lists, all from the…
July 12, 2026
What Makes Peerless Different From Other HubSpot Themes
The specific architecture decisions -- no build step, zero-margin modules, ITCSS layering -- that separate Peerless…
July 12, 2026
The Story Behind FCP Solutions and Peerless
Why FCP Solutions builds Peerless as its own base theme, and how the same theme now powers more than one production…
July 12, 2026
How to Pass Core Web Vitals on HubSpot CMS
A practical checklist for hitting good Core Web Vitals scores on HubSpot CMS -- images, fonts, third-party scripts, and…
July 12, 2026
The Anatomy of a High-Converting CTA
What separates a call-to-action that converts from one that gets scrolled past -- copy, contrast, and placement, broken…
July 8, 2026
Powering a Sports Portfolio: BuildingSportsPage on Peerless
How we built sportspage.io as a child theme of Peerless: ten custom modules, everything else inherited, and one repo…
