Display articles in a Row (2 posts)

  1. Cleese
    Posted 2 years ago #

    What i want to do is:
    If i call a Category over the menu, i want that the Posts/Articles of this Category are Displayed three in a Row. The next three in the next row and so on.
    I want to use the Grid with the “div classes”
    <div class="grid col-300"> <div class="grid col-300"> <div class="grid col-300 fit">
    but i have no idea how to build a template under the Theme “responsive” with this feature.
    can you help me?

  2. Herbert van-Vliet
    Posted 2 years ago #

    You'll probably find this of interest:

    When you do create your category specific template, it would be wise to so in a child theme:

    You could base your category-specific template on one of the existing files for example.
    In your loop you'll want to output the 'fit' class for every 3rd post (check php's modulo % operator).

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic