Dynamic Accordion Usage

All I want to do is add a little caret icon next to each heading that when that particular accordion is open then the caret icon is down aand when the accordion is closed the caret icon is left.
It’s for this site https://www.africacollection.com/south-africa-and-mauritius-travel-itinerary-packages/south-africa-safari-and-mauritius-beach-holiday-travel-itinerary/ which uses accordions dynamically everywhere for all the itinerary days.
If the accordion classes were changing like I know they should by bootstrap design then i could target the open vs closed caret icons with css.

Hope that makes sense.

1 Like