Nested accordions don’t work
-
I tried the following shortcode:
[su_accordion] [su_spoiler title=”Top level spoiler title (spoiler 1)”] [_su_accordion] [_su_spoiler title=”spoiler 1 – sub-spoiler 1″] Content [_/su_spoiler] [_su_spoiler title=”spoiler 1 – sub-spoiler 2″] Content [_/su_spoiler] [_/su_accordion] [/su_spoiler] [su_spoiler title=”Top level spoiler title (spoiler 2)”]Content[/su_spoiler] [/su_accordion]
And would expect that the nested accordion would work, i.e. when I click on
sub-spoiler 1
it opens and clicking onsub-spoiler 2
the other will close and the current will open. But that is not the case. Both are open i.e. the[_su_accordion]
is not recognized. I could see as well the shortcode directly in the HMTL.Is there a way to fix it?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Nested accordions don’t work’ is closed to new replies.