Support » Fixing WordPress » [Gutenberg] Center align text in a column

  • Hey I wanted to center the text in one of my columns in the Gutenberg editor. I did this by adding custom css to center all column text in the customizer:

    .wp-block-column {
    text-align: center;
    }

    That is definitely a workaround and very sloppy, so is there a way to do this without using the customizer?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Gutenberg certainly has several outstanding issues, but I don’t believe centering text in a column is one of them. I just tested on a fresh 5.0.3 sandbox, and it works.

    @gappiah I should have mentioned that the columns are custom html elements rather than text (how did you insert that image into a forum post? lol, I don’t see a way to do that)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Gutenberg] Center align text in a column’ is closed to new replies.