Did you see the “Columns” block?

[I should say at the start, you’ll need to view the post on my site to appreciate this.]

Well, first of all, did you see the quiz I post yesterday? It went something like this:

1.blah blah blah

In fact, to get there, I had to select a Table block and edit it manually. If I’d have just created a table from the editor, and used it as is, I’d have got:

1.blah blah blah

See how it mangles the widths?

So I sent a message to WordPress and asked if there was any way to do this visually, without faffing around with the underlying code. Turns out, there is a block called the Columns block instead. This allows me to create my columns, entirely within the visual editor. Set the widths, and all.

I thought I’d mention it for two reasons. First, this appears to be quite a powerful block. After you’ve said how many columns you want, you can not only set their widths, but you can also fill then with whatever other blocks you like. I mean, I was only interested in writing a bit of text, but you could put images, or lists, or (I guess) loads of other things, if the fancy takes you.

Second, this is the one time I have to go beyond the block editor and fiddle with the underlying code.

I’ve seen/used these blocks where you can display media and text side-by-side, but it’s clear to me now that that is just a special case of a Columns block. So, this is what my quiz would’ve looked like if I’d have used the Columns block.

1.

blah, blah, blah

or

The quick brown fox

  • blah
  • blah
  • blah
2020-12-25T00:00:36

  days

  hours  minutes  seconds

until

Christmas

and all done visually!

23 comments

    • No I onlydiscovered it when WP told me abput it, but I can see i might be useful one day. I’m thinking of writing a post in 3-4 newspaper columns just for a change one day.

      Like

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s