Manage your cookies preferences

Please select which cookies you are willing to store.

Performance cookies Always enabled

These cookies will allow us to collect statistical and anonymised data, such as how long users stay on a page or which links are clicked, to ultimately improve Greenpeace.org and provide you with a better experience of our website. The acceptance of these cookies will also allow you to hide the cookies acceptance banner.

In addition to the Statistical cookies mentioned above, we may also place in your browser cookies from third-party services (e.g. Facebook or Google) to track the effectiveness of our online marketing strategies and to deliver adverts more relevant to you and your interests. These cookies may also be used to serve advertising to you after you have left our site (retargeting cookies).

This site works great in a cookie-free experience. To make it better, however, we use some cookies. You can read the Privacy Policy and change your cookies settings anytime.

Expand or collapse content to improve user experience by preventing endless scrolling.

📚 Create Content > Blocks > Accordion

Use the Accordion block if you want to simplify and organize content in a way that makes the user experience better by preventing endless scrolling through long content. The accordion block can be extremely helpful for mobile users.

Add the block to your page

You can find the Block in the Blocks overview on the left.

Edit block

The Accordion block is a WYSIWYG block. Title and description fields for the block and headline and text for each entry, as well as the button text can be edited directly in the block editor.

Some other settings are available on the right size of the editor, in the Sidebar. The editor can choose the style or add more items to the accordion block, or remove items.

Editors can also links by adding a Button. To determine the button link and select the option whether to open in a new tab or not, go to the Sidebar on the right.

Styles

There are three different styles available:

Want to do more?

Check out the Details Block for the same functionality, but with more options. Such as adding columns, images, social media embeds, buttons and more!

All design files of the Accordion block are available in the P4 Design Systems > Blocks > Accordion

Was this helpful?

Yes
No
Thanks for your feedback!