This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /Confluence

How To Hide A Section in Confluence

Updated on:
May 13, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to collapse a section in Confluence using the Expand macro.

Quick summary

To hide a section in Confluence, you insert the Expand macro using the /expand slash command, add a title and hidden content inside the macro body, then publish the page so the section collapses by default and reveals its content on click.


Steps

  1. Type /expand in the Confluence editor and select Expand from the dropdown menu.
  2. Add a title (e.g., "Click to view") to label the collapsed section for readers.
  3. Place the hidden content you want to conceal inside the body of the Expand macro.
  4. Publish or Update the page so the section is collapsed by default and expands on click.

📌 Why this matters

Hiding a section in Confluence using the Expand macro keeps pages clean and scannable by collapsing supplementary or advanced content until a reader chooses to reveal it. This is especially useful for lengthy documentation, FAQs, or step-by-step details that would otherwise overwhelm the page layout. Teams that manage large Confluence spaces benefit from collapsible sections because they reduce scroll fatigue and improve content discoverability. Learning to hide sections with the Expand macro is a quick, no-code way to improve the readability and structure of any Confluence page.
Your product deserves an interactive demo
Start free
Similar Articles
Confluence

How to Track Changes in Confluence

Madhav Bhandari
Director of Marketing @ Storylane
Confluence

How To Tag Someone In Confluence

Madhav Bhandari
Director of Marketing @ Storylane
Confluence

How To Add New Row In Confluence Table

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Buyer Hub
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Events & webinars
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it