How Do I Add a Body Class in WordPress?

Adding a body class to a WordPress post or page is easy. Just follow these steps:

1. Open your post or page in the editor.

2. Click the “Format” menu and select “Text Formatting”.

3. Under the “Text Formatting” section, click the “Body” tab.

4. Under the “Body” section, click the “Class” dropdown and select the class you want to add.

5. Click the “OK” button to apply the class.

Now your post or page will have the class added. To finish, just add a comma after the class name and hit “Publish”.