Skip to content

Accordions

The Accordions component lets you add collapsible content to your page. Each accordion item has a heading (always visible) and text content (visible only when expanded). You can also add images and actions to each item.

Save space and focus on the most important content by using accordions — readers can expand only the items they’re interested in.

Accordions — Collapsed
Accordions — Collapsed

Options in the Intro tab are covered in the Components section.

Each accordion item consists of a heading and text.

The title of the accordion item, visible when it’s collapsed.

The content of the accordion item, visible only when expanded. Use the WYSIWYG editor to format the text.

Accompany your text with images. Image position can be set in the Appearance tab.

Accordions — Images
Accordions — Images

Add actions to your accordion items to direct users to other pages or resources. Actions appear as buttons.

Accordions — Actions
Accordions — Actions
Admin

Set the position of photos inside accordion items.

Accordions — Photo Position (Left)
Accordions — Photo Position (Left)
Accordions — Display (Accordion)
Accordions — Display (Accordion)

The classic collapsible accordion.

Choose how many columns to lay out the accordion items in.

Other options in the Appearance tab are covered in the Components section.

All fields (technical reference) — 15 fields
Field nameMachine nameTypeRole
Columnsfield_dmz_column_countlist_stringAdmin
Hiddenfield_dmz_hiddenbooleanEditor
Buttons (legacy)field_dmz_linkslinkDeprecated
Background Mediafield_dmz_mediareference (image, video, fotoweb)Admin
More Linkfield_dmz_more_linklinkEditor
Outer Backgroundfield_dmz_palette_color_1list_stringAdmin
Inner Backgroundfield_dmz_palette_color_2list_stringAdmin
Content Backgroundfield_dmz_palette_color_3list_stringAdmin
Accordion Itemsfield_dmz_paragraph_listref_revisions (dmz_heading_and_text)Editor
Photo Positionfield_dmz_photo_positionlist_stringAdmin
Section IDfield_dmz_section_idstring (max 255)Admin
Introductory Textfield_dmz_texttextEditor
Display Stylefield_dmz_text_list_displaylist_stringAdmin
Introductory Titlefield_dmz_titletextEditor
Title Heading Levelfield_dmz_title_taglist_stringAdmin