How to Bold H1, H2, H3, H4, H5, H6 Headers in WordPress
If you WordPress theme is anything like ours, you will find that it does not automatically bold H1, H2, H3, H4, H5 and H6 headers in your posts. Although it is easy enough to manually bold the headers that are inside a particular post, we did find that, with the theme that we are using, this created a bit of a visual disparity, in that while all the other headers were bold, the title of the post remained faint. So, how do you bold headers in a WordPress Post?
How to Bold the Title in a WordPress Post
In order to bold headers in a WordPress Post, all that you need to do is the following;
- Log into your WordPress Website
- In the backend of your website, place your cursor on the “Appearance,” button.
- Choose “Customize” from the options that appear.
- Note that if you are already signed into your WordPress account, you will have a black band that has the “Customize” option in the front end of your website.
- Clicking on the “Customize” link takes you to an editing panel, that has a front-end view of your site to your right and customization options to your left.
- Scroll down and click on the “Additional CSS” option.
- Add the following code to this section;
h1, h2, h2, h4, h5, h6 {
font-weight:bold;
}
Publish Changes
That’s it. Now all that you need to do is click on the publish button and you will automatically have bold headers in any WordPress Post that you publish on your website.
Only bold the title in a WordPress Post
If you need to only automatically bold the title in a WordPress Post, you simply remove all the other headers in the above code to remain with;
h1 {
font-weight:bold;
}
Note that in most WordPress themes, the title of the post that you are writing is usually the H1 header. Using the above formula, you can automatically bold only the h2, h3, h4, h5, h5 in your WordPress posts.