Accordion to show first card expanded

Hi there. I have an accordion and would like to see the first card expanded by default.
Didn’t see the trick in the doc. Tried custom attribute set aria-expanded=“true” but it’s not enough. I followed the link to Bootstrap 4 doc and they say something about using the show class which does not exist in the template I’m using.

Did I missed something to have the first card opened by default ?
Thanks, any help appreciated.

As I know the first card is always expanded by default.

Yes, but I had deleted the first item. And it was not easy to configure another item as the first. Finally I restarted the accordion from a new Bric and now it is working.
Thanks.

And thanks to Eldar Blocs website course. There is a chapter about the accordion Bric which helped me :slight_smile:

3 Likes