Skip to content

Accordion Styling

Style every visual detail of the Accordion option type — layout, headers, expand icon, content panel, and behavior — using per-type templates.

Overview

Read Types Settings first if you haven't created a template before. This page covers every setting available once you're editing an Accordion template, grouped the same way they appear in the editor's left navigation.

Layout Mode

SettingWhat it controlsOptions
Layout StyleWhether accordion items form one connected block or sit as separate cardsConnected (default), Disconnected

Connected-only settings:

SettingWhat it controlsDefaultOptions / Range
Divider StyleThe line separating items in a connected accordionUnderlineNone, Underline, Full
Divider Color (if not None)Color of the dividerLight gray
Divider Thickness (if not None)Thickness of the divider1px1–5px

Disconnected-only settings:

SettingWhat it controlsDefaultRange
Item SpacingGap between separate item cards12px0–32px
Header-Content GapGap between a card's header and its expanded content0px0–20px

Item Container

SettingWhat it controlsDefaultRange
Border Width (Disconnected only)Border thickness on each item card1px0–6px
Border Color (Disconnected only)Border color on each item cardLight gray
Border RadiusCorner rounding — the outer container in Connected mode, each card in Disconnected mode8px0–30px
ShadowDrop shadow — applied to the whole accordion (Connected) or each item card (Disconnected)No ShadowNo Shadow, Subtle, Medium, Strong

The clickable area that expands and collapses each item.

Header Layout:

SettingWhat it controlsDefaultOptions / Range
Header Padding (per side)Inner padding of the header12px top/bottom, 16px left/right0–40px
Header AlignmentPositioning of header contentSpace BetweenLeft, Center, Right, Space Between
Header HeightWhether height is automatic or fixedAutoAuto, Custom
Header Height Value (if Custom)Fixed header height48px30–80px

Header Typography:

SettingWhat it controlsDefaultOptions / Range
Font SizeSize of the header title text14px8–30px
Font WeightWeight of the header title text500300, 400, 500, 600, 700
Text TransformCase transformation of the titleNoneNone, Uppercase, Capitalize, Lowercase
Letter SpacingSpacing between letters0px-2 to 8px

Header States

Idle, hover, and active colors for the header, edited via state tabs:

SettingWhat it controlsDefault
Text ColorHeader title color for that stateDark gray
Background ColorHeader background color for that stateWhite
Icon ColorExpand icon color for that stateMedium gray

Expand Indicator

The icon (or label) that signals expand/collapse.

SettingWhat it controlsDefaultOptions
Icon TypeVisual style of the indicatorChevronChevron, Plus/Minus, Caret, Label
Icon PositionSide of the header the indicator sits onRightLeft, Right

When Icon Type is Label:

SettingWhat it controlsDefault
Collapsed LabelText shown when the item is collapsed"Show"
Expanded LabelText shown when the item is expanded"Hide"

When Icon Type is Chevron, Plus/Minus, or Caret:

SettingWhat it controlsDefaultRange
Icon SizeSize of the indicator icon20px12–32px
Rotate on ExpandWhether the icon rotates when the item opensOn
Animation SpeedSpeed of that rotationNormalFast, Normal, Slow

Content Panel

The body area revealed when an item is expanded.

SettingWhat it controlsDefault
Content Padding (per side)Inner padding of the content area12px top, 16px right/left, 16px bottom
Content Text ColorText color inside the content areaDark gray (matches idle header text by default)
Content BackgroundBackground color of the content areaWhite
Content Border Top (Connected layout only)Toggles a border above the content, separating it from the headerOff
Content Border Color (if on)Color of that borderLight gray
Content Border Thickness (if on)Thickness of that border1px (1–5px)

Why no border option in Disconnected mode

Each item is already a separate card with its own border in Disconnected layout, so a border above the content would be redundant.

Animation

SettingWhat it controlsDefaultOptions
Animation TypeTransition effect when expanding/collapsingSlideSlide, Fade, Slide-Fade, None
DurationSpeed of the animation300ms150ms, 300ms, 500ms
Easing FunctionEasing curve of the animationEaseEase, Ease-in-out, Linear, Ease-in, Ease-out
Stagger AnimationDelays each item's animation slightly so they cascade instead of firing at onceOff
Stagger Delay (if on)Delay between each item's animation50ms0–200ms

Behavior Logic

SettingWhat it controlsDefaultOptions
Expand ModeWhether one item or multiple items can be open at onceMultipleSingle, Multiple
Keep One Open (Single mode only)Prevents collapsing the last open itemOff
Default State (Single mode)Which item is open when the page loadsCollapsedCollapsed, First Expanded
Default State (Multiple mode)Which items are open when the page loadsCollapsedCollapsed, First Expanded, All Expanded

Responsive

SettingWhat it controlsDefaultRange
Mobile Font SizeOverrides header font size on small screensUses desktop size8–30px
Collapse on MobileForces all items closed on small screens regardless of Default StateOff

Advanced

SettingWhat it controlsDefault
Focus OutlineToggles a visible outline for keyboard navigationOff
Focus Outline Color (if on)Color of that outlineBlue
Focus Outline Width (if on)Thickness of that outline2px (1–4px)

How to Style Accordion

  1. Open the Style Settings modal (see Customization Overview)
  2. Click TypesAccordion
  3. Create a new template or click an existing one to edit it
  4. Use the left navigation to jump between Layout Mode, Item Container, Header, Header States, Expand Indicator, Content Panel, Animation, Behavior Logic, Responsive, and Advanced
  5. Watch the Live Preview update as you change settings
  6. Click Save in the contextual save bar