How To Collapse A Section in Confluence
In this article
Collapsible sections are a powerful way to organize content in Confluence and keep your pages clean and readable. By using the Expand macro, you can hide detailed information behind expandable headers that readers can click when they need more details.
This tutorial walks you through creating these collapsible sections step-by-step, helping you build more user-friendly documentation that doesn't overwhelm your audience with too much information at once.
Here's how to collapse a section in Confluence
- Open your Confluence page in edit mode to begin adding the collapsible section.
- Type /expand in the editor to bring up the macro options.
- Choose "Expand" from the dropdown list of available macros.
- Create a descriptive title for your collapsible section header.
- Insert your content within the expand macro block that appears.
- Test the collapse functionality by clicking the down arrow to hide the content.
- Save your changes by clicking either "Publish" or "Update" to make the collapsible section live.
Your turn to show how it works.
Build a walkthrough of your product with Saltfish, then share it with your customers.
Frequently Asked Questions
Yes, you can create nested collapsible sections by adding expand macros inside other expand macros. This creates a hierarchical structure that's useful for complex documentation with multiple levels of detail.



