Skip Navigation

[Resolved] variable column setup / row in grid

This thread is resolved. Here is a description of the problem and solution.

Problem:

Display multiple column sizes using Views.

Solution:

Actually this is possible but it may not display the way you intend it to because our views plugin display the items using a loop. This means that your output should be similar or the same. So if there are variable rows and columns then this may not display in the fashion you want.

I would recommend that you use a fixed column width setup because of how views displays the content.

This support ticket is created 6 years, 8 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by jozsefG 6 years, 8 months ago.

Assisted by: Shane.

Author
Posts
#631583

Hello

Is it possible to have a grid in a view with different columns widths / row. For ex. second row 1/3 + 2/3, 1/3 + 1/3 + 1/3, third row 2/3 + 1/3 and so on...

#631621

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jozsef,

Thank you for contacting our support forum.

Actually this is possible but it may not display the way you intend it to because our views plugin display the items using a loop. This means that your output should be similar or the same. So if there are variable rows and columns then this may not display in the fashion you want.

I would recommend that you use a fixed column width setup because of how views displays the content.

Thanks,
Shane

#631784

Thank you Shane

I guess I could do the layout I want with flexbox. I will make a simple output of divs from the loop and I will style some of them with :nth-of-type() and this way I can have different column widths. What do you think?