Skip to main content
2 votes

odd even columns in expressionengine with bootstrap

Yes you could use switch also. {exp:channel:entries} <div class="wrap {switch='col-lg-4|col-lg-8'} col-sm-12 content-item"> ... </div> {/exp:channel:entries} Would output ...
Bluedreamer's user avatar
  • 1,607
1 vote

Loop a new section (outside loop) after every 2 entries

If I follow your question correctly, the output you want is for each pair of entries to be in their own sections, with the sections alternating between white and light grey backgrounds. I'm not sure ...
JCOGS Design's user avatar
  • 3,585

Only top scored, non community-wiki answers of a minimum length are eligible