Default Grid Settings

How to make button height match other form fields in a grid.

Overview

The issue occurs when using a horizontal grid where buttons do not automatically align in height with adjacent fields, especially when text wraps.
Use a Multi Field area with Flexbox align-items set to stretch, or structure the layout with Sub Items and specific column sizes to ensure consistent element heights.

Answered
ChronoForms v8
Fr Fredolino 03 Jan, 2026

Hello,

It would be very beneficial if the button height automatically matched the height of the other form fields. And that they retained their height even if the text in a preceding form field became two lines.

This takes more time to write additional CSS every time.

F.

Screenshot1.png
Screenshot2.png
Max_admin Max_admin 16 Jan, 2026

Hi Fredolino

Did you try using a Multi Field area instead of the Grid when the fields are horizontal ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fr Fredolino 18 Jan, 2026
Answer
1 Likes

Hi :-)

Initially, I only had classes (Horizontal Grid, Stackable) and a column gap.

I've since solved the problem using Sub Items and Column Sizes (1fr 1fr 2fr 2fr 1fr 1fr).

(For example, Sub Item3 contains a dropdown, Sub Item4 contains a dropdown, Sub Item5 contains a button, etc.)

With a little patience, it eventually worked.

F.

Max_admin Max_admin 23 Jan, 2026

Hi Fredolino

Great, that's valid solution too :)

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fr Fredolino 28 Jan, 2026

:-)

The crucial point, however, is that to ensure the buttons and dropdown/input fields have the same height, this style must be created for the buttons each time:

#btn1, #btn2 {

padding: calc(var(--pad) * 1.6) calc(var(--pad) * 5);

padding-left: calc(calc(calc(var(--pad) * 2) * 2) + 1em + calc(var(--pad) * 2));

}

Max_admin Max_admin 04 Feb, 2026

The button height in a multi field row is based on the row Flexbox settings, if flexbox "align-items" is stretch then all elements will have the same height.

Is this what you need ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fr Fredolino 04 Feb, 2026

"Stretch" was available in CF7, but this option was removed in CF8 Settings?.

Post a Reply