Sauter la navigation

[Résolu] View. Content centred in grid and all equal length

This support ticket is created Il y a 1 année et 8 mois. 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)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par Minesh Il y a 1 année et 7 mois.

Assisté par: Minesh.

Auteur
Publications
#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

Les langues: Anglais (English )

Fuseau horaire: 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

Les langues: Anglais (English )

Fuseau horaire: 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.