We’ve migrated our documentation to a new site, which means some URLs have changed.
Subscriptions

How to show custom fields on the registration screen in two columns?

By default, the custom fields in the Identity Management register screen are listed in one column, underneath each other.

For example like this:

cf0.png

If you'd like to change this view and show the custom fields in two columns next to each other, you will need to apply CSS to the Piano ID layout template under the tab CSS.

Here is a sample code you can use:

.custom-fields{
display: flex !important;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between; 
}


.custom-field{
width: 48%;
margin: 15px 0px;
}

This will change the appearance of your custom fields as follows:

cf.png

Alternatively, you can also use the property justify-content: space-around; instead of justify-content: space-between; for a different look and feel.

Last updated: