-
|
When using a form component, control fields are arranged sequentially, row by row. Using the width property, they can be reduced, allowing multiple elements to fit on the same row. However, there are some fields that I'd like to leave as single fields on the row and, for example, center them. What's the simplest way to control the position and alignment of fields in a row in SQLPage when using a form component? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
You could do this with a bit of css select 'shell' as component, 'custom-form.css' as css;
select 'form' as component;
select 'name' as name, 4 as width;
select 'city' as name, 6 as width;
select 'zip' as name, 6 as width;.row label:has(input[name="name"]) {
width: 100%;
padding: 0 25%;
}
https://sql-page.com/component.sql?component=shell#component |
Beta Was this translation helpful? Give feedback.
-
|
Excellent! And thank you so much again! |
Beta Was this translation helpful? Give feedback.

You could do this with a bit of css
https://sql-page.com/component.sql?component=shell#component