Center last item of grid with odd number of cells

Hi,

how can i manage to have the last cell of a grid that has two frames per “row” to be centered.

For example: I hav a grid with 9 cells. On bigger screens it is set to “1fr 1fr 1fr”. On smaller screens it is set to “1fr 1fr”. The last cell always is aligned left but I want it to be centered.

Thank you!

Hi @ingo,

Thanks for reaching out.
That is not possible in the usual way. But you can try by adding a new 8 set of Grid with 1fr 1fr and 1 with 1fr and that is only visible in the smaller screen. The last Cell will be full width and automatically centered. You can hide/show that by using the Customize > Hide During Breakpoints. The current set of Grid will be visible for the bigger screen and the new set of Grid will be visible on smaller screen.

Test-Page-Page-Builder-Pro

Test Page - Page Builder - Pro (1)

Hope it helps.
Thanks

Thank you!

You are most welcome @ingo

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.