DocsKitstarter Framework
Typography and spacing
Fluid type and space scales made from a base size and a ratio, for phone and for desktop.
Typography and Spacing each build a scale from a base size and a ratio, set for desktop and for phone.
How fluid sizes work
At the Minimum width and narrower, every size uses its phone value. At the Content width and wider, it uses its desktop value. In between, it grows smoothly. You set both widths in Layout, under Website dimensions.
The type scale

Typography makes these variables:
- Headings:
--h1to--h6 - Text:
--text-xxl,--text-xl,--text-l,--text-m,--text-sand--text-xs
Switch between Headings and Text to set each scale:
- Base size is the size of
--h4for headings and--text-mfor text. Every other size is made from it. - Ratio sets how much bigger each size is than the one below. 1.2 makes each size 20% bigger. Phones usually want less.
- Keep small sizes readable stops
--h5and--h6, or--text-sand--text-xs, from going below 13 to 15px.
You can also set the font, weight, line height and colour. Some settings can be set for the whole scale or one size at a time. Fonts are saved as --font-heading and --font-body, and an empty font keeps your theme's font.
Style headings and text
Switch on Style headings & text to put your sizes and fonts on h1 to h6 and paragraphs through Elementor's tag styles. Text then looks right without a class, and your own classes and Style-tab changes still win. This needs Elementor 4.3 or newer.
The space scale

Spacing makes --space-xs to --space-xxl for padding, margins and gaps inside your sections, plus --space-none (0).
- Base size is the size of
--space-m. Every other size is made from it. - Ratio sets the step between sizes.
Section spacing
Sections get their own scale, --section-space-xs to --section-space-xxl, for top and bottom padding. Each one is its space size times the Multiplier. 3 on desktop and 2 on phone keeps sections airy without wasting a small screen.
--gutter is the left and right padding of every section, so content never touches the screen's edge.
Bridges
A bridge is one size on desktop and a smaller one on a phone. Switch on Bridges to get variables like --space-xl-to-m and --section-space-l-to-s, which give a hero room on a big screen without wasting a small one.
Section switches
- Remove Elementor's 10px: every Flexbox and Div block starts with no padding instead of Elementor's 10px.
- Space sections: every Flexbox or Div block set to the
sectiontag gets the gutter at its sides and your chosen section padding top and bottom.
Both need Elementor 4.3 or newer, and your own classes and Style-tab changes still win.
Change a scale
- In Kitstarter Framework, open Typography or Spacing.
- Change a base size or ratio, or type your own value for one size.
- Click Save. Pages using the variables follow.