liip / bootstrap-blocks-wordpress-plugin

Bootstrap Gutenberg Blocks for WordPress

Home Page:https://wordpress.org/plugins/wp-bootstrap-blocks/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wouldn't be great to support stretch vertical alignment to row > column ?

Wewill opened this issue · comments

Hi team,

Actually, it's possible to verticaly align column in a row : start, center, end. Which is great if you don't have a background color in column. In this case, wouldn't be great to support stretch alignment to fit equal heights to each columns ?

verticalAlignment > adding stretch

Capture d’écran 2021-05-13 à 10 01 36

Capture d’écran 2021-05-13 à 10 01 48

Best regards, Wilhem

Hi @Wewill. Currently it's possible to enable the Center content vertically (see: https://github.com/liip/bootstrap-blocks-wordpress-plugin#options-2) checkbox in the column options. This sets a height of 100% to the column and centers its content vertically. But you're right, it is not possible to do the same if the content should be aligned to the top.

Hi @tschortsch,

Thanks a lot for your quick reply ; yes it will be very useful.
And may I suggest to add this parameter to the column toolbar or in a group in metaboxes ? After padding group > Inner column alignement or something relevant.

Your plugin is perfect, simple, clean and useful ! Thanks a lot.

Best regards, Wilhem

Good idea. Since this setting is related to the background setting we wanted to keep those together. But we will think about this if we implement further options for it.

Hi @Wewill. We just released v3.3.0 of the plugin which supports to vertical align the content of a column block via the block toolbar. The setting is still on column-level (and not on the row block) to not create a dependency (on template side) between those two blocks.