Skip to content

How to Add a Search Bar to Accordion in Elementor?

Table Of Content

Does your FAQ have dozens of questions? A search box above the accordion lets visitors type a word and see only the items that mention it.

The Accordion widget from The Plus Addons for Elementor has a built-in Search Bar.

To check the complete feature overview documentation of The Plus Addons for Elementor Accordion widget, click here.

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

Before You Start

  • Edition: Pro — the Search Bar 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

  1. Add the Accordion widget and your items.
  2. In Content > Special Option, turn on Search Bar and click the pencil next to it.
  3. Set the options below, then publish.
The search bar settings: text highlight, length, placeholder and icon
SettingWhat it doesDefault
Text HighlightMarks the matching words in the open items. Style it in Style > Search Text HighlightOff
LengthHow many characters visitors must type before filtering starts (1–15)3
PlaceholderThe hint text in the empty boxEnter Search
Icon LibraryThe icon inside the boxSearch icon
Searching refund shows and opens the two matching items, with the word highlighted
Filtering accordion items with the search bar

How It Behaves

  • It searches both titles and content, and ignores upper and lower case.
  • Matching items are shown and opened; the rest are hidden.
  • Clearing the box shows every item again.

Limitations

  • With Text Highlight on, some symbols break the search. Typing (, ), [ or \ stops the filter with a script error. With Text Highlight off, every character works.
  • It only searches this accordion, not the rest of the page or other accordions.
  • Template items are searched by the text the template shows.

Troubleshooting

Nothing filters while I type

You have typed fewer characters than Length. Lower it if short words matter, such as “VAT”.

Related Docs

Related Frequently Asked Questions

Related Docs