Are you trying to center your title in the WordPress Gutenberg Block editor but cannot?
Your heading is not coming to the center position because your theme does not allow that. Follow today’s tutorial as we will discuss how to center title in WordPress easily.
Centering title in WordPress is all about presentation, though simple yet an effective way to enhance your website’s visual appeal.
If you align the title to the center, your posts will have a clean, professional look.
Now, let’s learn how to center the title in WordPress below.
How to Center Post Title in WordPress
The method we will use to center titles in WordPress is the easiest. Just make sure to follow the steps thoroughly.
Step 1
Go to your website’s dashboard and navigate to Appearance (1)> Customize (2).
Step 2
Now, click on “Additional CSS.”
Step 3
Paste this CSS code “h1.entry-title { text-align: center; }” into the CSS editor and click Publish.
That’s all. Your title will be in the center of all text content. Here is a demo for you below.
Final Thoughts
I hope you’ve found this small WordPress tutorial helpful.
Let me know your thoughts in the comment section below if you have any questions or suggestions about the post.
To learn more about WordPress, you can follow our blogs. Below are some related topics that you might check out.
Related Post
Leave a Reply