I seem to be struggling with an accordion within a CPT query. I have a Therapist CPT which is being queried to show different therapist cards. Within each therapist card, I have services being queried within an accordion. No matter the settings I put, the accordions are always open. Not sure if this is a known bug, I see similar-ish problems in the forums but back in 2022 and they all seemed to have been resolved.
Try adding in a container. The accordion seems to listen to the structure really tight and i fought the thing myself and this is how i have it working.
Hey I’m not sure how you would like to me upload it. I have a .json for the section template but can’t upload it here. When I simply copy paste the section I end up with a lot of symbols so I don’t think that’s what you’re looking for?
I don’t want to be annoying, just to really make sure there’s a container between accordion and item with the query on the container instead of the item like from your first image.
I had all kind of weird stuff happening in any other way. Spend hours trying to get it work, and this is the only way it worked.