Nested Accordions
-
After recent update I noticed my nested accordions were displaying incorrectly
The nested titles were reduced to the first word of the title preceded with a ” mark and the icons were displaying the open “—” symbol while actually closed. E.g. — “Title
I had been using:
[su_accordion][su_spoiler icon="plus" title="xxxxx" style="simple"] [_su_spoiler icon="plus" title="xxxxxx" style="simple"] [_/su_spoiler] [_su_spoiler icon="plus" title="xxxxxx" style="simple"] [_/su_spoiler] [/su_spoiler][/su_accordion]
the solution (which I don’t really understand – but works) was to change, for the nested items, _su_spoiler to su_spoiler (removing the first underscore):
[su_accordion][su_spoiler icon="plus" title="xxxxx" style="simple"] [su_spoiler icon="plus" title="xxxxxx" style="simple"] [_/su_spoiler] [su_spoiler icon="plus" title="xxxxxx" style="simple"] [_/su_spoiler] [/su_spoiler][/su_accordion]
N.B. I had to leave the closing tag for the nested accordions as [_/su_spoiler]. That is the part I don’t understand – but it works
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Nested Accordions’ is closed to new replies.