Skip to main content

Section Styles — converter mapping

Theme Settings → Components → Section Styles · ✅ Populated

A Section Style is a reusable band skin — background, on-band text / heading / link colours, border and corner radius — that produces a .section--{slug} class you pick on a Section (Layout → Section Variant). The converter clusters the source’s distinctive bands into presets, filling the fill + colours + border + radius.

Full reference: Section Styles (how it’s coded + examples).

Where it lives

Option schemaframework/extensions/shortcodes/includes/theme-settings/components-section-styles.php
Converter methodFW_Site_Converter_Stitch::build_section_style_presets()
Storage keysection_style_presets
Producesa .section--{slug} class per preset — pick it on a Section (Layout → Section Variant)

Only a band that deviates from the page base (its own fill, border, radius, or on-dark text) becomes a preset; near-identical bands cluster into one. A text or heading colour is carried only when the band is dark or the colour differs from the page base — so a light band that just matches the page stays clean. Per-section padding stays a native Section option, so presets leave it empty.

Coverage

6/8 fields derived from the source (75%) — 🟡 0 via CSS · ⚪ 2 default/manual · ⚙️ 2 auto.

Group / fieldTypeStatusDerived from / note
Skin (section_style_presets box)
style_nametext✅ NativeName → .section--{slug}, shown in the Section Variant dropdown
backgroundbackground-pro✅ NativeThe band fill (colour / gradient / image)
text_colorcompact color✅ NativeCarried when the band is dark, or its text differs from the page base
heading_colorcompact color✅ NativeCarried when the band is dark, or its headings differ from base
link_colorcompact color⚪ UnmappedLeft default
bordermulti-inline (width / style / color)✅ NativeCarried when the band has a border edge
border_sidesimage-picker (multi)⚙️ AutoAlways all four edges
border_extentmulti-picker⚙️ AutoAlways Full width
border_radiusunit-input✅ NativeCarried when the band has a corner radius
paddingspacing (per-side)⚪ UnmappedLeft empty — a Section’s own Top/Bottom Spacing controls it (see note)
Presets are the skin; padding stays on the Section

A Section Style carries the reusable look (fill, colours, border, radius). The band’s vertical spacing is deliberately a per-Section control (Layout → Top/Bottom Spacing) — it varies section to section even within one skin — so the converter leaves the preset’s Padding empty and sets spacing on each Section instead.

Status legend

  • Native — Derived and written from a source signal.
  • 🟡 Via CSS — Reproduced via generated CSS; the native option is left empty (candidate to promote).
  • Unmapped — Left at default — no source signal, or set by hand.
  • ⚙️ Auto — Plumbing. Excluded from the coverage percentage.

← Back to Components