Custom text styles for a glossary

[ad_1]

I’ve been maintaining a site for a couple of years and know my way around WP, but can’t figure this out.

I want to make a glossary with each term and definition in a specific format. The term should be bold and the definition in plain text, indented about 25px (see code below).

With CSS styles, I have to apply the style to each line which is tedious.

Is there any way to create custom blocks for this one page?

I’m using GeneratePress and have GenerateBlocks/Elements. I’ve messed around with them without success.

# Glossary

**Aardvark**
Animal that eats ants.

**Apple**
A crisp and tasty fruit.

[ad_2]

 

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