# Accordion styled FAQ

**URL:** <https://forum.bubble.io/t/accordion-styled-faq/148433>\
**Category:** App Organization\
**Created:** [April 27, 2021, 3:19pm UTC](https://forum.bubble.io/t/accordion-styled-faq/148433 "2021-04-27T15:19:01Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![monyeraph](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@monyeraph](https://forum.bubble.io/u/monyeraph)\
**Post date:** [April 27, 2021, 3:19pm UTC](https://forum.bubble.io/t/accordion-styled-faq/148433/1 "2021-04-27T15:19:01Z")

</div>

Please I need help resolving my accordion FAQ.

I have successfully used Toggle to get each answer to open when a question is clicked, but I want the answers to collapse back when another question is toggled rather than toggling its particular question back.

I tried using custom states in a repeating group but a new answer will show while the previous one is still showing. I also tried using group focus in a group too but I am yet to get what I want.

Please see the screenshots below for reference.

 ![ref 1](https://us1.discourse-cdn.com/bubble/original/3X/b/2/b25130ef7352d7b4e8b9eca989be724abe75842e.png) ![ref 2](https://us1.discourse-cdn.com/bubble/original/3X/e/1/e1c02c9f3fb1dc3371b1ba2b743283a8f3305a2f.png) ![ref 3](https://us1.discourse-cdn.com/bubble/original/3X/0/3/039015ff1de2a453fd0116cade92e08924e11547.png) ![ref 4](https://us1.discourse-cdn.com/bubble/original/3X/d/b/db8ae5549e45288c92f962cafe0a81955b156219.png) ![ref 5](https://us1.discourse-cdn.com/bubble/original/3X/b/c/bc021308f3ed7e3945abf6fe24bafa9e36d9628f.png) ![ref 6](https://us1.discourse-cdn.com/bubble/original/3X/9/6/9676afde3b3660f2fb4c721945203b09927fa98d.png) ![ref 7](https://us1.discourse-cdn.com/bubble/original/3X/4/f/4fc1fae90966fe36d1c9dc6ea265ec83debf04b1.png)

---

<div class="post-metadata">

**Author:** ![johnny](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/johnny/32/203020_2.png) [@johnny](https://forum.bubble.io/u/johnny)\
**Post date:** [April 27, 2021, 4:29pm UTC](https://forum.bubble.io/t/accordion-styled-faq/148433/2 "2021-04-27T16:29:15Z")

</div>

Hey @monyeraph,

Have you unchecked fixed width and check your aligning for that text?

---

<div class="post-metadata">

**Author:** ![monyeraph](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@monyeraph](https://forum.bubble.io/u/monyeraph)\
**Post date:** [April 27, 2021, 5:32pm UTC](https://forum.bubble.io/t/accordion-styled-faq/148433/3 "2021-04-27T17:32:47Z")

</div>

Yes. the width and aligning don’t really affect collapsing groups. I am just primarily concerned about the collapsing for now.

---

<div class="post-metadata">

**Author:** ![johnny](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/johnny/32/203020_2.png) [@johnny](https://forum.bubble.io/u/johnny)\
**Post date:** [April 27, 2021, 6:41pm UTC](https://forum.bubble.io/t/accordion-styled-faq/148433/4 "2021-04-27T18:41:42Z")

</div>

Do you have the collapseable option selected?

---

<div class="post-metadata">

**Author:** ![monyeraph](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@monyeraph](https://forum.bubble.io/u/monyeraph)\
**Post date:** [April 27, 2021, 6:54pm UTC](https://forum.bubble.io/t/accordion-styled-faq/148433/5 "2021-04-27T18:54:03Z")

</div>

I do.

It collapses at the moment when toggled. What I want is for “question 2” or “question 5” to hide, when “question 7” is toggled on.

This is what I have  
[https://oje.bubbleapps.io/version-test/faq?debug\_mode=true](https://oje.bubbleapps.io/version-test/faq?debug_mode=true)

This is what I want

[https://plc.rightmove.co.uk/about-us/faqs.aspx](https://plc.rightmove.co.uk/about-us/faqs.aspx)

---

<div class="post-metadata">

**Author:** ![johnny](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/johnny/32/203020_2.png) [@johnny](https://forum.bubble.io/u/johnny)\
**Post date:** [April 27, 2021, 7:08pm UTC](https://forum.bubble.io/t/accordion-styled-faq/148433/6 "2021-04-27T19:08:04Z")

</div>

Ah, I see. So you’re basically trying to collapse everything else when one of them are clicked? If so, is everything in a repeating group or individual groups?

---

<div class="post-metadata">

**Author:** ![monyeraph](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@monyeraph](https://forum.bubble.io/u/monyeraph)\
**Post date:** [April 28, 2021, 1:22pm UTC](https://forum.bubble.io/t/accordion-styled-faq/148433/7 "2021-04-28T13:22:46Z")

</div>

I’ve tried both options as seen in the images I attached. Do you have a method to achieve it?

---

<div class="post-metadata">

**Author:** ![cmarchan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cmarchan/32/253062_2.png) [@cmarchan](https://forum.bubble.io/u/cmarchan)\
**Post date:** [April 28, 2021, 11:50pm UTC](https://forum.bubble.io/t/accordion-styled-faq/148433/8 "2021-04-28T23:50:23Z")

</div>

@monyeraph

[![](https://img.youtube.com/vi/f9tjhDXE5k8/maxresdefault.jpg "Accordion Menus | Bubble.io Tutorial") ](https://www.youtube.com/watch?v=f9tjhDXE5k8)

---

<div class="post-metadata">

**Author:** ![mannanbutt678](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mannanbutt678](https://forum.bubble.io/u/mannanbutt678)\
**Post date:** [September 14, 2023, 5:29pm UTC](https://forum.bubble.io/t/accordion-styled-faq/148433/9 "2023-09-14T17:29:51Z")

</div>

Hello monyeraph,

Have you got the solution for the trick If yes then please share it. I’ve also tried so many combinations of options I can think of but nothing works.

Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![msgiblin](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/msgiblin/32/119904_2.png) [@msgiblin](https://forum.bubble.io/u/msgiblin)\
**Post date:** [September 15, 2023, 7:10am UTC](https://forum.bubble.io/t/accordion-styled-faq/148433/10 "2023-09-15T07:10:34Z")

</div>

I have a similar use case and I used the free Orchestra plugin: [Orchestra (repeating group addon) Plugin | Bubble](https://bubble.io/plugin/orchestra-repeating-group-addon-1581095540181x938333534159634400)

When a cell is expanded / toggled I trigger the Musician inside the cell, and then I use the Maestro element outside the RG to trigger Maestros to toggle their cell to close.

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [September 15, 2023, 7:44am UTC](https://forum.bubble.io/t/accordion-styled-faq/148433/11 "2023-09-15T07:44:10Z")

</div>

Just use a custom state to determine which answer to show, and a condition on the group inside the RG to collapse or expand it based on that custom state.

---

<div class="post-metadata">

**Author:** ![mannanbutt678](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mannanbutt678](https://forum.bubble.io/u/mannanbutt678)\
**Post date:** [September 15, 2023, 12:03pm UTC](https://forum.bubble.io/t/accordion-styled-faq/148433/12 "2023-09-15T12:03:10Z")

</div>

Thanks @msgiblin. This plugin is awesome.

---

<div class="post-metadata">

**Author:** ![mannanbutt678](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mannanbutt678](https://forum.bubble.io/u/mannanbutt678)\
**Post date:** [September 15, 2023, 12:08pm UTC](https://forum.bubble.io/t/accordion-styled-faq/148433/13 "2023-09-15T12:08:37Z")

</div>

Thanks @adamhholmes. It is working now. Even though I’m using a custom state I just missed (referencing the Parent Group’s “Question” text element value in the custom state).
