Car Battery Pro
Day-to-Day OperationsTheme settings

Layout & spacing settings

Page width and margin, plus the module, heading, banner, and gap spacing scales across desktop, tablet, and mobile.

Layout & spacing settings

๐Ÿ‘ค Ops ยท ๐Ÿ›  Dev

Two groups control the overall canvas and the vertical rhythm between modules.

Layout

SettingIDOptions / rangeDefault
Page widthmax_page_widthNarrow (90rem) ยท Wide (110rem)90rem (Narrow)
Page marginmin_page_margin10โ€“100px20px

max_page_width caps the content container; min_page_margin is the minimum gutter between content and the viewport edge on smaller screens.

Spacing

Every spacing scale has a Desktop, Tablet, and Mobile value (three settings), exposed as CSS variables. All use an 8px step.

ScaleID prefixCSS variable prefixDesktopTabletMobileRange
Module spacingspacing_modules_*--spacing-modules-*56px48px32px24โ€“72
Heading spacingspacing_headings_*--spacing-headings-*40px32px24px24โ€“72
Module with container paddingspacing_module_with_container_padding_*--spacing-module-with-container-padding-*72px64px48px24โ€“72
Slim banner spacingspacing_slim_banner_*--spacing-slim-banner-*32px24px24px24โ€“72
Gap spacingspacing_gap_*--spacing-gap-*24px16px16px16โ€“72

The * in each ID/variable is one of desktop, tablet, or mobile - e.g. spacing_modules_desktop โ†’ --spacing-modules-desktop.

On this page