I am new to Fluid and Typo3 and trying to write my own template-extension based on Bootstrap 4. I like the cards of BS4 and added them as contentelement into my template-extension with no problem.
If I add content with my new card-contentelement now, I want this element and all other card-contentelements be wrapped into <div class="card-group> ... card div and other card-stuff ... </div>
or better, I need the following structure:
<div class="card-group">
<div class="card">
CARD ONE
</div>
</div>
<div class="container">
OTHER CONTENT-ELEMENTS
</div>
<div class="card-group">
<div class="card">
CARD TWO
</div>
<div class="card">
CARD THREE
</div>
</div>
As you can see, I want to be one or more card-content-elements to be wrapped into a "card-group" div.
But I don't know how to do this within my layout, template nor typoscript. The only result I get is, that every card is wrapped in its own "card-group" div. =(
Any ideas? I am going nuts, sitting couple hours for a solution. Thanks in advance,
Chris