Home › Toolset Professional Support › [Resolved] Hide column that is empty in loop
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 |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9: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/Hong_Kong (GMT+08:00)
Tagged: Views, Views plugin
This topic contains 1 reply, has 2 voices.
Last updated by Luo Yang 6 years ago.
Assisted by: Luo Yang.
Hello,
It is expected result, in your screenshot:
hidden link
you are using Bootstrap grid mode, each item has a CSS class "col-sm-3"
in Bootstrap gird mode, each row has 12 columns, so each item take 1/4 width of row, see bootstrap document:
hidden link
And it conducts the issue as you mentioned above:
The loop still outputs 4 columns, leaving the last empty
If you want each row to display 3 items only, then you will need to setup the "bootstrap grid" again, use option:
Number of column: 3
See our document:
https://toolset.com/documentation/user-guides/view-layouts-101/#bootstrap
Screenshot:
hidden link