Forum Discussion
SharePoint Page - Collapsable Section Header Text
1. Fastest way (native functionality)
Edit page → click ‘+’ to add a new widget
Select ‘Segment’ → choose the style with ‘▸’ icon.
Enter the text directly in the title of the paragraph to get the collapsible effect automatically.
2. Simplified code
html
<details
<summary>▼ Click to expand the title</summary>.
This is where you put the content that needs to be collapsed
</details
Running HTML
3. Modify an existing heading:
Select the existing heading text
Click the toolbar ‘A’ icon
Select the ‘Heading 2’ style (with its own collapsing arrow)
NathanRodriguezThanks for your reply but not what I was asking. When you add a new Section to a SharePoint page and set it as collapsable you can add a Heading for the Section. I'm trying to access this header from within PowerShell.