Great, this might work, and I know that much about css, but … it would be great if there would be a parameter, that would also wrap the fields in the loop in tags, like i.e. div.
I have to do that manually now, and fortunately Elementor accepts HTML tags within its Shortcode widget, so I did:
[loop type=team_member count=5 list=true]
<div>[field title]</div>
<div>[field function]</div>
<div>[field excerpt]</div>
[/loop]
Without the explicit <div>…</div> around the fields, [loop] only creates:
-
fieldTitle1
fieldFunction1
fieldExcerpt1
-
fieldTitle2
fieldFunction2
fieldExcerpt2
…
If there is a better, more ‘elegant’ way, please let me know.
Thanks again!