I saw that you helped someone else. The entire accordion opens when I use this code.
.collapse:not(.show) {
display: block;
}
Only the first question should remain open and the rest should be closed. Otherwise, there will be problems in the opening and closing event again. So this code only works for the “Open All Accordions” option.
Do you have an idea and solution for “First Accordion Open”?