How to Create Drop Cap in Divi (in Single Post Template)

You’re in the right article if you seek inspiration to beautify your blog post. This article will show you how to create the drop cap in a single post template in Divi Builder without the help of any plugin.

Adding a drop cap to your single post template helps you grab more user attention. Anyway, what is the drop cap? A drop cap (dropped capital) is a decorative element at the beginning of a paragraph or section, where the first letter of the first paragraph is made larger and takes up several lines of text or the first few sentences, usually two or more lines.

Steps to Create the Drop Cap in a Single Post Template in Divi Builder

Step 1: Add a Post Content Module to the Single Post Template

On your WordPress dashboard, go to Divi -> Theme Builder. Once you enter the Divi Theme Builder screen, you can add a new single post template or select the existing one. Afterward, please insert a Post Content module into your single post template.

Once you insert a Post Module, don’t forget to save your template and apply the changes by clicking the All Changes Saved button.

Step 2: Add the Custom CSS

Next, we move on to the final step. We will add a simple CSS snippet into Divi Theme Option.

On your WordPress dashboard, go to Divi -> Theme Options. Once you enter the Divi Theme Options screen, navigate to the General tab -> Custom CSS. Please copy the CSS snippet below and paste it into the available field.

.et_pb_post_content::first-letter{
    font-size: 4em;
      font-weight: bold;
      margin-right: 8px;
      float: left;
      line-height: 1;
  }

The Code Explanation:

The code above selects the first letter of the first paragraph element on the Post Content module using .et_pb_post_content::first-letter. Then, the drop cap applies by adding properties and values to the CSS snippet.

Once you add the Custom CSS, apply the changes by clicking the Save Changes button.

That’s it. You can see the result by adding a new post or viewing your existing post.

If you are happy with the result (as in the image above), keep it like this. But, if you want to customize it, you can edit the values on the CSS snippet, such as font size, font weight, etc.

The Bottom Line

This article shows how easily you can create a drop cap in a single post template in Divi Builder without the help of any plugins. A drop cap is usually used in news articles and documents. However, you can still add a drop cap for other content, such as your blog post. Adding a drop cap is one of the simple things you can try to make the reader’s eyes on your content.

If you often create WordPress websites with Divi, you can use Divi Cloud for time efficiency. You can store your Divi assets (layouts, theme builder templates, code snippets, etc.) in the cloud, and you can access that from any website you create.

This page may contain affiliate links, which help support our project. Read our affiliate disclosure.
Picture of Akbar Padma

Akbar Padma

Akbar is a WordPress expert and a writer staff at WPPagebuilders. He mainly writes about Gutenberg, Elementor, Divi, and other WordPress page builders.
Want to start a profitable blog with WordPress? OF COURSE!

2 thoughts on “How to Create Drop Cap in Divi (in Single Post Template)”

  1. Hello Mark,
    Thank you for stopping by our website.
    In response to your issue, please make sure that you are using Divi as your WordPress theme.
    If not, you can determine the actual class name by inspecting at the post content element on the front end of the page and replacing “.et_pb_post_content” with your own.

    Reply

Leave a Comment

Save your Divi assets to the cloud and access them from anywhere.
Hey 👋🏻
Got WordPress knowledge?
Why not turning it into profit? Click the button below to learn how.

Your popup content goes here

50%

Where should we send the template?

After entering your email address, you will be added to our newsletter subscribers. You can unsubscribe anytime.

Want to Build Passive Income Like the One on the Screenshot Below?

Click the button on the right side to learn how 👉🏻
5 easy steps to turn your WordPress knowledge into monthly recurring revenue.

Click the above button to close the popup.