Accordion
Search (CSOL) Accordion in the CMS
Use to hide long pieces of content that is revealed when the visitor clicks, allowing you to keep your pages shorter while still being informative.
Module Preview
Module Preview
Use Cases
Consider using the Accordion module for a lengthy FAQs section — i.e. contest guidelines, or rules for content submission for users. It can also be used as a form of agenda for an event you are hosting (The Tabs module can also be good for this).
Since the content of each accordion is hidden from view by default, any information you place within this module should be secondary to the purpose of your page.
Guidelines
Character Count
- Since the content of each accordion is hidden from view by default, any information you place within this module should be secondary to the purpose of your page. No strict guidelines here, since the content is hidden by default (UGJ on the title length)
- There is no limit to the amount of Accordion items you can add to this module
Image Sizing
- Media on Desktop and Tablet has different layouts options; Large, Medium and Small
- Media on Mobile has two size variations; full-width and half the width of the Accordion
- Media has no vertical maximum height. Be careful adding extra tall images or video as they might fill most of the screen on mobile devices
Variations
- Choose between a simple list styling (Basic) or a card-like styling (Card)
- Choose between 1 or 2 column layouts
Things to Know
- Optional footer text field allows you to add a bit of extra copy beneath the group of accordion titles
- Recommended not to overuse this module, as the interaction can become clunky for the user
- This module contains a section for SEO. This contains a dropdown for SEO Schema. Only use this if your content corresponds to a specific schema.org type. Currently, we are only supporting FAQ schema on this module. If you select FAQ schema from the dropdown you will need to go back into your accordions and select if you want your text included in SEO schema using the toggle under the rich text editor. If you have any questions about the usage of this field please reach out to #seo-questions in slack.
How to use this module
- Please watch this loom to view a demo of using this module in the editor.
What's New?
| v2.1.0 November 2023
- This module now has the option for each item to open and close independently of the others.
| v1.8.0 June 2023
- This module now has the option for 1 or 2 column layouts. To change the column layout scroll to the Accordion Column Count dropdown and select either 1 or 2. The module defaults to 1 column.