Skip to main content
< All Articles

How to organize content on a SharePoint page using collapsible sections

Posted on November 11, 2021

One of the significant changes made recently to SharePoint pages was the ability to create collapsible sections. We already had quite a few tricks in the book to organize content on a page (vertical section, multiple column layouts, etc.). The recent improvement allows site owners to create what was only possible previously via custom code. In this article, I would like to describe this incredible new feature.

What are collapsible sections?

When you add content to your SharePoint pages – it is all static, meaning every site visitor/member will see all the information on the page in the same exact spot. However, what if you have lots of content on a page and don’t want users to scroll down to the bottom of a page to find the specific piece of the content they are looking for?

Collapsible sections allow you to do just that – users will be able to expand/collapse sections of a page as necessary, without the need to scroll up and down much.

collapsible sections

How to create collapsible sections

  1. Edit the SharePoint Page
  2. Collapsiblesectionssharepointonline2 Add a new section or edit an existing one Collapsiblesectionssharepointonline3
  3. On the right-hand-side panel, toggle the switch ON next to Make this section collapsible collapsible sections
  4. You can also tweak some other settings, like show or hide divider, icon alignment, and whether or not the section will show as collapsed or expanded by default.
  5. Give your section a name (Optional) collapsible sections
  6. Republish the page Collapsiblesectionssharepointonline6

Best practices for using collapsible sections

  • Collapse by default. When configuring a collapsible section, you can specify whether the section will be expanded or collapsed by default – I recommend keeping it collapsed by default for maximum screen real estate.
  • Give each section a title. Titles are optional but beneficial for users to understand what is inside of the collapsible section. Make sure to give it a descriptive title (i.e., News from the EMEA region).
  • Keep the top section expanded. If you have several collapsible sections added to your page, it might be best to keep the top section expanded (while others collapsed), so the users will see some content right away, without extra clicks.
  • Add supportive text. It might not be a bad idea to add the text “click here to expand/collapse” to let visitors know what they need to do to access or hide the information. Collapsiblesectionssharepointonline7
  • Give each section a different color, so it looks better/visually stands out

Use cases for collapsible sections

Here are a few uses cases I can think of for collapsible sections:

  • Text and Image-based Knowledge base
  • Frequently Asked Questions (FAQ) database
  • Sections for organizing content for different audiences. For example, a section specific to North American employees, a section for European Union, etc.
  • A page that is heavy with text that you want to convert into the Table of Contents by collapsing the sections of a page and giving each section a Chapter/Section number and name

About Me

I’m Greg Zelfond, a U.S. based SharePoint consultant, and I provide affordable out-of-the-box SharePoint consulting, training, and configuration assistance to small and medium-sized businesses all over the world.

Need help?
Sharepointsitespageswebparts 184534499

SharePoint Site, Pages and Web Parts

It’s hard to believe, but I first blogged about this topic in 2016. That was right around the time Microsoft announced its plans for SharePoint modernization. Although all three elements…

Read More