Site logo

Archived topic

Changing classic blog post to Blocks

3 replies · Started by Bart on December 14, 2020

Viewing posts 1–4 of 4

Hi

I have blog posts which are made on classic editor and it does not look good and I cant edit it as I want. Is there an easy way to change them from classic to blocks to work on GP ?

Hi there,

are you using a plugin to set the default editor to classic?
If so those plugins generally have the option that provides you a choice to edit in the Block editor.

A classic post will automatically convert to Blocks when you open it in the block editor.
You can them add any new blocks including GB blocks to your post content.

Hi David

So I just found out that when I hover over the post in the editor I can convert it to the blocks. However When I do that all my headings go to the left (originally they are in the middle) and with the amount of the posts I got on my website it is a lot of clicking. Any way to do it in batch?

You can use some CSS to center them on the front end:

.single-post h2 {
    text-align: center;
}

They'll still be left aligned in the editor.

As a note - we don't recommend you use the GB Headline Block for writing standard post content. Only if you need to style an element differently to the Theme styles - such as when creating a Call to Action block. Other than that its best to use the core Headings block.

This archived topic is closed to new replies.