Next I'm building a website that needs to show posts with wordpress, however I'm using the Skeleton grid framework, it works as follows:
<div class="container">
<div class="row">
<div class="three columns"></div>
<div class="three columns"></div>
<div class="three columns"></div>
<div class="three columns"></div>
</div>
</div>
And so I go ....
But I'm having the following:
AndtheProblem:
Wordpresshasthefollowingschemetogivedisplayinposts:
<?phpif(have_posts()):while(have_posts()):the_post();?><?phpendwhile?><?phpelse:?><?phpendif;?>
HowdoIadaptthegridsystemforevery4poststogive<divclass="row">
at start and </div>
at the end, to stay responsive?
Current situation:
<div class="row">
<div class="three columns">
<article class="articlebox">
<header class="articleheader">
<h2 class="article_title">Teste Bananinha</h2>
</header>
</article>
</div>
<div class="three columns">
<article class="articlebox">
<header class="articleheader">
<h2 class="article_title">Teste Bananinha</h2>
</header>
</article>
</div>
<div class="three columns">
<article class="articlebox">
<header class="articleheader">
<h2 class="article_title">Teste Bananinha</h2>
</header>
</article>
</div>
<div class="three columns">
<article class="articlebox">
<header class="articleheader">
<h2 class="article_title">Teste Bananinha</h2>
</header>
</article>
</div>
</div>
<div class="row">
<div class="three columns">
<article class="articlebox">
<header class="articleheader">
<h2 class="article_title">Teste Bananinha</h2>
</header>
</article>
</div>
<div class="three columns">
<article class="articlebox">
<header class="articleheader">
<h2 class="article_title">Teste Bananinha</h2>
</header>
</article>
</div>
<div class="three columns">
<article class="articlebox">
<header class="articleheader">
<h2 class="article_title">Teste Bananinha</h2>
</header>
</article>
</div>
<div class="three columns">
<article class="articlebox">
<header class="articleheader">
<h2 class="article_title">Teste Bananinha</h2>
</header>
</article>
</div>
</div>