Creating grids of fields on the page edit screen

Posted 12th Oct 2017

#fields #setup

By default, all fields will take up 100% of the width. Changing the widths can reduce the height of the page and improve the editing experience.

So, we're going to change the field widths of the fields created in this post to create a grid of fields in the page editor. The page used in this tutorial was created with the 'basic-page' template in this post.

Fields displayed at default 100% width
Fields displayed at default 100% width Zoom

Admin > Setup > Templates

Select a template. In this case, I'm editing the 'basic-page' template. Select a field label (in the middle). In this case it's 'Title'.

Select the title field label
Select the title field label Zoom

A modal window appears and select the 'Input' tab. Here you can set the width values.

The edit field modal
The edit field modal Zoom

I went through each field and set them to the following, then saved the template.

NOTE: The widths will only show once you've saved the template.

Field widths changed on template fields
Field widths changed on template fields Zoom

Now, go back to the page which was created with the 'basic-page' template and see the difference.

Fields now shown at custom width
Fields now shown at custom width Zoom

Maybe it doesn't look the neatest but play around with it. It's a great way to reduce the height of your page edit screen. Another way is to add page edit tabs to separate the page edit into sections.

NOTE: The above only sets these values on a per template basis. In order to set default values sitewide for fields:

Admin > Setup > Fields > Input (tab)

Select a field, go to the 'Input' tab and change the column width to a default value.

Setting the default width value of a field
Setting the default width value of a field Zoom

Feedback & support

I hope you enjoyed this tutorial. You can support pwtuts by following on @pwtuts. You can also donate at paypal.me/swcarrey to help support the site which would be awesome!

Related tutorials / See all

Suggest a tutorial

Please note: I do not store any of this information, it's simply used to send me an email. Your email address is required so I can get clarification on your request if needed.