Skip Navigation

[Resolved] Uneven grid for post

This support ticket is created 6 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 6 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#1100318
hotelim-grid.jpg

I need to create this layout (see also attached image)

<div class="row>
<div class="col-md-8">
FIRST POST
</div>
<div class="col-md-4">
SECOND POST
</div>
</div>

<div class="row>
<div class="col-md-4">
THIRD POST
</div>
<div class="col-md-4">
....
</div>
<div class="col-md-4">
....
</div>
</div>

<div class="row>
<div class="col-md-4">
....
</div>
<div class="col-md-8">
LAST POST
</div>
</div>

Is there a way to create this grid in a single view - without using multiple nested views?

Thanks

#1100644

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - what if you use shortcode [wpv-item index=1] and use index attribute to assign your specific index values.

See this section:
=> https://toolset.com/documentation/user-guides/digging-into-view-outputs/#vmeta-wpv-loop-parameters
=> https://toolset.com/documentation/user-guides/view-layouts-101/#bootstrap

More info:
=> https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-item