XF 2.2 Expandable categories

Orit

Active member
Hi
I'm trying to figure out how the expandable categories work (data-xf-click="toggle").
I gather it has something to do with the attribute:
data-target="< :up :next"

My question is:
Is it possible to set the target to be be one level lower in the dom?
I want to put each of the child-categories in a separate div but then the toggle doesn't work...

Thanks!
 
Top Bottom