Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter dodoland

    (@dodoland)

    ok, i solved it

    Tell me what have you done, please 😉

    Thread Starter dodoland

    (@dodoland)

    Sure:

    – in the CSS change the % in post-list class; now is 50%, for 3 columns will be 33%, for 4 25%, etc. –> .post-list .page { width: 33%; float: left; }

    – in index.php (and obviously in archive and search) change the % in the line <?php if($i % 2 == 0) { echo ‘</div><div class=”post-row”>’; } $i++; endwhile; echo ‘</div>’; ?> –> 3 columns will be ($i % 3 == 0), 4 columns ($i % 4 == 0), etc.

    that’s all 🙂

    good

    This is exactly what I’m looking for…

    But I’m afraid it’s a little more complicated than I understand.

    I’ve downloaded the example child theme – Is this something I should put in a child theme, or do you need to insert it in the main code? (I understand that’s a risk if the site’s updated?)

    I love this theme! 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘home page post-list 3 columns’ is closed to new replies.