Add title just above the article

Posted in: Newspaper
Post count: 111

Hello Team,

I would like to add title just above each post.. and be able to control color of the title and size..
Can you tell me how to do it properly?

I was using Gutenberg editor .. but gutenberg is unstable .. so went back on classic editor.

I use this code to add a title above the post : <!– wp:post-title /–>

But not only the table of content thinks this is H1 but also I can’t customize color and size.

Can you show me how to add title above the post properly?

Thanks.

Example : https://www.captainforest.com/how-will-a-plastics-treaty-make-a-difference-in-solving-the-plastics-crisis/

Post count: 35449

Hello,
This code is part of Gutenberg and is a title block.
If you use classic editor and want the first element from the content to be the post title, then just copy the title an set it as first element (eventually set it with h2 not h1, h1 will already be set on post title element).
Another alternative is to edit the single post template and move the page title that is over image above the post content.
Thank you!
Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.