You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
Hi,
I would like to display child pages in a four column grid in one of the sections on my front page. Somehow it's not working. I have a feeling that I'm not closing my div's properly. I've tried like a hundred time to close my div's but still no result. All four children pages are displayed in the first column of the four intended. I really appriciate your help on this! http://pastebin.com/YvYZi38h
Julia
The text was updated successfully, but these errors were encountered:
Is the goal to have 4 child posts as 3 unit width columns in a row on a large display? In which case, the column should all be defined inside the while block?
while ( $services_query->have_posts() ) {
echo'<div class="small-6 large-3 columns">';
// Render stuff [using Wordpress the_post or similar]the_post();
echo'</div>';
}
James, you are a geniuos! Thank you so much! It was not about where I close the div, but where I open it. Cool!
How about if I want to display only 4 out of many? Thank you!
Hi,
I would like to display child pages in a four column grid in one of the sections on my front page. Somehow it's not working. I have a feeling that I'm not closing my div's properly. I've tried like a hundred time to close my div's but still no result. All four children pages are displayed in the first column of the four intended. I really appriciate your help on this!
http://pastebin.com/YvYZi38h
Julia
The text was updated successfully, but these errors were encountered: