Skip Navigation

[Resolved] View. Content centred in grid and all equal length

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 2 replies, has 2 voices.

Last updated by Minesh 1 year, 2 months ago.

Assisted by: Minesh.

Author
Posts
#2652261

I have a view with grid layout. I need to centre all the content in the loop and have a minimum height, but for the life of me cannot see where you do this.

Using Kadence theme

Can't give a link as it's in a 'My Account' page.

#2652401

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Can you please share problem URL and admin access details as well as screenshot of your expected output?

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2652463

Minesh
Supporter

Languages: English (English )

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

Can you please check now.

I've added the following custom CSS code to your view's "Custom JS and CSS" section's Custom CSS box.

.tb-grid .tb-grid-column,
.tb-grid .tb-grid-column .wpv-block-loop-item,
.wp-block-toolset-blocks-grid{
    height: 100%;
}

.wpv-block-loop-item {
text-align: center;
justify-items: center !important;
display:grid;
}
}

More info:
- https://toolset.com/course-lesson/adding-custom-css-to-templates-archives-and-views/

#2652475

Thank you.

Have to say it's quite disappointing the way Toolset is getting left behind in design matters. I felt sure there would have been the possibility of changing alignment and height in grids without resulting to writing css.