How to set Post Title to H1 in WordPress Gutenberg? It’s always set to H2

So I edit my posts with WordPress Gutenberg Block Editor, and I add my title in the “Add Title” section. When I check with Ahrefs tool, I realize that the “Add Title” section is a H2. I can’t delete that section, and I can’t leave it blank either, so I always have an annoying H2 on the very top of my post and no H1 heading. If I add another H1 title then this H1 heading still appears BELOW that H2 title. How do I change this? Many thanks in advance!

  1. Create page with title, publish, edit, remove title, save page. Done. Quick and dirty.

  2. Depending on which theme you are using it should already be outputting a H1 element. Take a look at template-parts and the entry.php file in the content directory. Assuming it’s not H1, you can look at grabbing a copy of it, creating a template-parts directory under the child theme and changing the elements you want to target e.g. <h1 class=”entry-title”></h1>. Changing a core file of a theme isn’t recommended as it could break if there’s ever a change.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer