---
title: "How to Expand or Close all accordion items with a button in Elementor?"
url: https://theplusaddons.com/docs/expand-close-elementor-accordion-button/
date: 2023-01-24
modified: 2026-09-11
lang: en
author: "Aditya Sharma"
description: "Does your accordion have a lot of items? An Expand All button lets visitors open every answer at once and scan the page, then close them all again. The Accordion..."
image: https://theplusaddons.com/wp-content/uploads/2020/10/How-to-expand-and-collapse-all-Accordion-items-with-a-button-in-Elementor_.jpg
word_count: 275
---

# How to Expand or Close all accordion items with a button in Elementor?

## 

- The Accordion widget from The Plus Addons for Elementor includes an Expand & Collapse Button that opens every item with one click and closes them again with a second click.
- The Plus Addons for Elementor Pro provides the Expand & Collapse Button, while the free plugin shows an upgrade notice instead of working.
- Horizontal Accordion hides the button option, and with the Search Bar the button only opens or closes items that match the search.

Does your accordion have a lot of items? An Expand All button lets visitors open every answer at once and scan the page, then close them all again.

The Accordion widget from The Plus Addons for Elementor has an **Expand & Collapse Button** for this.

*To check the complete feature overview documentation of The Plus Addons for Elementor Accordion widget, [click here](https://theplusaddons.com/docs/elementor-accordion-widget-settings-overview/).*

***Requirement - This widget is a part of The Plus Addons for Elementor, make sure it's installed & activated to enjoy all its powers.***

[LIVE WIDGET LINK](https://theplusaddons.com/elementor-widget/accordion/?utm_source=tpae&utm_medium=docs&utm_campaign=text)

## Before You Start

- **Edition:** **Pro** — the Expand & Collapse Button is part of The Plus Addons for Elementor Pro. In the free plugin the option shows an upgrade notice instead of working.- **Widget to enable:** Accordion, switched on under **The Plus Addons > Widgets**.

## Steps

- Add the Accordion widget and your items.- In **Content > Special Option**, turn on **Expand & Collapse Button** and click the pencil next to it.- Set **Position** (**Before** or **After** the items), the **Expand** and **Collapse** labels (default “Expand All” and “Collapse All”) and the **Alignment**.- Style it in **Style > Expand/Collapse Button**.

![The Expand and Collapse Button settings with Position, labels and Alignment](https://theplusaddons.com/wp-content/uploads/2026/09/accordion-expand.webp)

Publish. The button now opens every item, and a second click closes them all.

![All accordion items open, with the Collapse All button above them](https://theplusaddons.com/wp-content/uploads/2026/09/accordion-result-expand.webp)

![Expanding and collapsing all accordion items](https://theplusaddons.com/wp-content/uploads/2023/01/accordion-all-expand-collapse-preview.gif)

## How It Behaves

- The label switches between your Expand and Collapse texts.- After expanding all, clicking one item goes back to normal: that item opens and the others close.- With the Search Bar, the button only opens or closes the items that match the search.

## Limitations

- **Not with Horizontal Accordion.** The button option is hidden while Horizontal is on.

## Troubleshooting

### The option is missing

Turn off Horizontal Accordion.

## Related Docs

- [Accordion widget: settings overview](https://theplusaddons.com/docs/elementor-accordion-widget-settings-overview/)- [Accordion vs toggle](https://theplusaddons.com/docs/elementor-accordion-vs-toggle/)- [Add a search bar](https://theplusaddons.com/docs/elementor-accordion-search/)

## Frequently Asked Questions

**Q: How do I add an expand all button to an Elementor accordion?**
A: The Accordion widget in The Plus Addons for Elementor adds an Expand &amp; Collapse Button through Content &gt; Special Option. That button is what lets visitors open every item at once and then close them all again, which is useful when an accordion has a lot of entries. The button is styled separately under Style &gt; Expand/Collapse Button, so its placement and look are handled as part of the widget, not with a separate addon.

**Q: Why is the expand and collapse option not working in my accordion?**
A: The most common blocker is edition level. The Expand &amp; Collapse Button is part of The Plus Addons for Elementor Pro, and in the free plugin the option shows an upgrade notice instead of working. The widget also has to be enabled under The Plus Addons &gt; Widgets. If either of those is off, the button will not behave like a real expand-all control.

**Q: Can I use the expand all button with a search bar in the accordion?**
A: The search bar changes how the button behaves: it only opens or closes the items that match the search. That matters because it keeps unrelated items out of the way when someone is filtering content. The Plus Addons for Elementor, The Plus Addons, Plus Addons for Elementor, POSIMYTH includes both features in the Accordion widget, so they can work together inside the same layout.

**Q: What should I do if the expand/collapse option is missing?**
A: Horizontal Accordion is the reason this option disappears. The page says the button option is hidden while Horizontal Accordion is on, so turning that off brings it back. This is a layout limitation rather than a broken setting, which means the control only appears when the accordion is using a supported mode.

**Q: Is there a better way to use an accordion with lots of items?**
A: An Expand All button is the right choice when visitors need to scan many answers quickly instead of opening each one manually. It works best on long accordions where speed matters, because one click reveals everything and another click resets it. If you are comparing content patterns, the related docs on [Accordion vs toggle](https://theplusaddons.com/docs/elementor-accordion-vs-toggle/) can help you decide whether an accordion or toggle fits the page better.
