Expandable accordions hide and show content

On Lynn's existing Drupal 6 site, Jim had put up a Frequently Asked Questions (FAQ) section, where Lynn had put in a lot of information about Blue Springs, the surrounding area, and activities that potential homeowners might be interested in.

As the list got longer, Jim enabled a feature in the FAQ module that turned the questions and answers into expandable questions. When a visitor first visited the page, all that showed were the questions. Once a visitor clicked on a question, the area between that question and the next one would expand and the answer was displayed.

Lynn had learned they were referred to as accordions. When looking for the carousel module, she noticed a module called Views Accordion ...

Get Mastering Drupal 8 Views now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.