Back to Support Content and Media Blocks Details Block

Details Block

The Details block is a block that allows you to include content hidden under a parent block with a text summary. This works like an accordion, with the text summary expanding to show nested content.

Click here for an example of the Details block.

This is hidden content.

Add the Details Block

To add the Details block, click on the + Block Inserter icon and search for Details block. Click to add the block to the post or page:

💡

Using your keyboard, you can also type /details on a new line and press enter to quickly add a new Details block.

Add a Details block
Adding a Details block

For more information, visit our detailed instructions on adding blocks.

Add Content to the Block

When you first add the Details block into your post or page, it will look like this:

Blank Details block

Start by adding a summary to your details block. This is the text that your visitors will click on to expand the Details block and reveal the hidden content. To add a summary, click on the details block where you see Write summary and begin typing.

Add summary to details block.

Next, set up your hidden content by adding blocks where you see Type / to add a hidden block. The Details block supports hiding all block types, including headers, lists, and images.

Add a hidden block to the details block.

One great use of this block is to set up an FAQ section to answer users’ frequently asked questions. Here is an example:

Can I add an image?

Yes, you can!

Can I add a list?
  • You
  • Absolutely
  • Can!
Will it teach me how to swim?

Nope! The Details block cannot teach you how to swim.

Block Toolbar

When you click on the block, a toolbar of options will appear above it:

Details block toolbar.
Details block toolbar

The Details block has the following options in its toolbar:

Block Settings

When you select a block, you will find additional block settings in the right sidebar. If you do not see the sidebar, you may need to click the Settings icon in the top-right corner to bring up the settings. This icon looks like a square with two uneven columns:

The settings icon in the Editor with a tooltip "Settings" below it.
Click the Settings icon to open the block settings

Set Details Block to Open by Default

To display your hidden content by default on the page, you can use the Open by default option. To enable this feature set the toggle next to Open by default to On.

You can find additional information on the block’s Advanced settings here.

Block Styles

Click on the cog/gear icon to access additional settings for the Details Block.

Was this guide helpful for you?

Not quite what you're looking for? Get Help!

Copied to clipboard!