Close Menu
  1. Columns

Columns

Two container blocks, side by each, each with alignment functionality.

Usage

This block is similar to the core Columns block that Gutenberg provides, but with added functionality to ensure it looks good on both mobile and desktop. Our Columns has two child blocks, a left and a right column. Each child block allows for control over text alignment, and can hold a subset of other blocks inside of it.

Most blocks are allowed—only very complex blocks are excluded from being put inside of Columns. For this reason, you will only be able to drag allowed blocks from outside of these blocks to the inside of them.

Like all Dirigible blocks, our Columns have an orange icon to prevent confusion and differentiate from the core Columns block.

Parent Settings

The parent block (named Columns in the editor) has the following settings. To access these settings, you must have the parent block selected.

Block Width

Blocks can be set to one of three widths in the editor: Default, Wide, or Full. Blocks will interact with adjacent blocks differently depending on their width.

Adjusting Block Width

The block width setting is found in your block context bar, which will show up above the current block that you have selected. A block that supports the block widths will show its current width icon in the context bar, and clicking it will allow you to change the width.

If you have the Top Toolbar setting selected, the block context bar will always show at the top of your page, not at the top of your block.

Default Width

The default width of your content is determined by the value set in your Customizer. You can find this setting under Styles » Widths » Content Width. This is the default width of most text-based content and most blog pages. We recommend keeping this set so that your content retains maximum readability, which most studies agree is around 50-60 characters per line.

Wide Width

Wide width content will take up 75% of the available width on the page or the default content width set on your site—whichever is larger. In effect, this makes content take up more of the available screen real estate. When used in conjunction with other wide width blocks, you can shape your webpages in many different ways.

Full Width

Full width content will always take up 100% of the available width on the page. When placed next to default or wide with content, margin will be applied to the full width block to give it some room to breath. When two full width blocks are placed next to each other, however, they will suction together and form a cohesive unit with no margin in between them.

Show More Show Less

Block Size

Change the size of your blocks.

Adjusting the size of your Dirigible Blocks

The sizing option will change the size of blocks on desktop. This is independent from the Swap Blocks setting, which means that even if you toggle the Swap Blocks option, if the left block is set to be larger, the leftmost block will always be the larger one regardless of which one is being presented on the left.

The default setting makes each block evenly sized (50%). With either of the other two options selected, the sizes are based on the golden ratio, with the larger block set to 61.8% and the smaller block set to 38.2%.

Show More Show Less

Split Scroll

Pins your content to either the top or bottom of the window as the user scrolls.

Block Split Scroll

The split scroll option pins your content to either the top or bottom of the window as the user scrolls. This will only affect the desktop experience.

Show More Show Less

Swap Blocks

Change the order of the blocks on desktop.

The Swap Blocks setting is used to change the order of the blocks on desktop.

This is an important distinction and can be used to control the flow of your website on mobile, giving your users the best mobile experience possible.

For example, if you’d like to alternate blocks with photo backgrounds on desktop but want the accompanying content to be displayed under the photo on mobile, you would create the blocks in the editor with the leftmost block as the photo background and the rightmost block as the content block. This way, they will stack on mobile, left first then right. Then, selecting Swap Blocks on every other Dirigible Blocks group.

Mobile swap blocks example.

Example mobile stacking.

The same blocks viewed on desktop. In this example, the second Dirigible Blocks group has Swap Blocks enabled.

Show More Show Less

Child Settings

Each of the two children of the Dirigible Columns group has the same settings and are interchangeable, but they will default to the common UX pattern of ‘photo on side, content on the other’. However, you can make these hold whatever you’d like—make it your own and explore the possibilities!

Block Text Alignment

Choose the text alignment of the selected block.

Choosing a Block Text Alignment

The text alignment option allows you to place your text anywhere inside of the child block. This is more useful than trying to control the alignment of each inner child block element, and is a combination of text position and text alignment. For example, setting the text to the lower right hand corner will not only position the text in the lower righthand corner, but also set right text alignment on all children.

Note: Because right text alignment is generally used compositionally on desktop, text set to be right aligned will automatically revert to left alignment on mobile to give your users the best experience.

Show More Show Less