Thread Starter
bustel
(@bustel)
I have 6 articles…
article 2 & 3 are in <div class=”arlima child-wrapper”>
article 5 & 6 are in <div class=”arlima child-wrapper”>
article 1 & 4 aren’t… how can I set it also in <div class=”arlima child-wrapper”>?
Thread Starter
bustel
(@bustel)
I think the problem is solve in the template.css but don’t know where to search…
Thread Starter
bustel
(@bustel)
I have find something in ListTemplateRenderer.php
line: 312
if(
($num_children == 4 && ($count == 1 || $count == 2)) ||
($num_children == 6 && ($count != 0 && $count != 3)) ||
($num_children > 1 && $num_children != 4 && $num_children != 6 && ($count != 0 || $has_even_children) )
)
if i remove this code, then the articles are all in two columns… but there is one last problem… the first article is on the right side of column 1, and the thirth article is on the left side on column three… the two articles should be togheter in one column…
This is not a bug, it’s a feature 🙂
Maybe in the future we’ll introduce an action that lets you control how the child articles are grouped without hacking the core of Arlima.