TheColumns Block allows you to insert text, media, and other types of content into up to three columns. When used one after another, the columns create a grid effect.
You can type “/columns” and hit enter in a new paragraph block to add one quickly.
Detailed instructions on adding blocks can be found here.
Once you add the Columns Block, you can choose a variation to start with (and you can change the number or add more columns later). If you want to use the default variation (50 / 50) you can click on the Skipoption.
Editing the Columns Block
It is possible to add or remove columns. To do so, click outside the box, between the box and the sidebar then change the number of columns (up to six).
Once you have defined the number of columns, you will want to add content to each column. The amazing thing about the columns block is that you can add other blocks into each column.
For instance, you can use the Columns Block as the structure and add image, heading, and paragraph to create a grid of services.
Or you can use the Columns Block with the Cover Block to feature pages of your site.
You could also use the Columns Block with the Button Block to invite users to take some actions on your site.
As you can see, the sky is the limit! Need to see how the magic happens? Check this video!
Most blocks have their own block-specific controls that allow you to manipulate the block right in the editor.
TheColumns Block shows five buttons:
- Transform to
- Moving handles
- Change alignment
- Change vertical alignment
You can transform columns into Group or a completely separate group of Columns.
TheGroup would give you the ability to change the background color around the columns.
The dotted icons can be used to drag and drop a block to the place of your choosing. The up and down arrow icons can be used to shift a block up and down in your document.
Detailed instructions on moving a block within the editor can be found here.
- Wide width – Increase the width of the post beyond the content size.
- Full width – Extend the block to cover the full width of the screen.
Change vertical alignment
- Vertically Align Top – Make the block vertically aligned top.
- Vertically Align Middle – Make the block vertically aligned middle.
- Vertically Align Bottom – Make the block vertically aligned bottom.
Hide Block Settings
The Hide Block Settings option hides (or shows) the Block Setting panel in the editor’s sidebar.
Copy can be used to copy a selected block and then you can paste it wherever you want in the editor.
Duplicate can be used to duplicate selected block.
Insert a new block before the selected block(s).
Insert a new block after the selected block(s).
If you select Move To, you will get a blue line inside your content, you can then use the arrows to move that line up and down to where you want the selected content to be moved into, hitting return on your keyboard at that point moves the block to that position.
Instruction on using Move To option to move a block can be found here.
Add to Reusable blocks
Using the Add to Reusable blocks option lets you add the selected block to a list of reusable blocks, so you can use them on other posts or pages as well.
Select the Group option if you want to create a group of blocks and treat them as a unit. You can for instance add a common background color or other blocks to the group.
With the Remove Block option, you can delete the selected block from your content.
Most blocks have specific options in the editor sidebar in addition to the options found in the blocktoolbar. If you do not see the sidebar, simply click the ‘cog’ icon next to the Publish button.
WithColor settings, you can change the color of the text in your block, the color of links, and the background color of your block. For the columns block, this means that you can style each column individually or both columns for consistency.
As mentioned in the editing the block section, on the block settings sidebar you can set the number of columns (up to six).
You can edit the number of columns by clicking on the up and down arrows, dragging the slider to the right or left or by typing the number directly in the field.
Note that since the Columns Block has the ability to embed other blocks, if you click specifically on one of the columns, the settings in the sidebar will change according to the block you added to the selected column (e.g. if you added an image to one of the columns, when you click on the image the sidebar will display the options from the Image Blocksettings).
For individual Column Blocks within the Columns Block, you are able to customize the padding and width options as shown below. To make it easier to find and select the Column Block, it’s recommended to use List View.
The padding option allows you to set the space between the block’s border and the content within the block.
The width option allows you to set the width of the individual column itself.
TheAdvanced tab lets you add HTML anchor and CSS class(es) to your block.
HTML anchor allows you to make a unique web address for a particular Columns Block. Then, you’ll be able to link directly to a Columns Block of your page.
TheAdditional CSS class(es) lets you add CSS class(es) to your block, allowing you to write custom CSS and style the block as you see fit.
- Updated 2021-07-09
- Updated screenshots.
- Added in context around styling individual columns.
- Added information about spacing and width options for individual columns.
- Updated 2020-08-24
- Added “Go back to the list of Blocks” to the top of the page
- Updated 2020-08-21
- Screenshots and videos as per LitePress 5.5
- Added feature changes in Block Toolbar
- Added feature changes in Block Settings
- Created 2019-03-07