Search

How to Create Drop Cap in Elementor (on Post Content Widget)

If you’re looking for an idea to grab more attention from your users, this article might be helpful for you. This article will show how to create a drop cap in the Elementor Post Content widget.

So, 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 a Drop Cap in Elementor Post Content Widget

As we mentioned in the title of this article, we will create a drop cap in the Post Content widget; that widget is one of the widgets available on the Single Post Template that is used to display the current post’s content dynamically.

Single Post Template is one of the features of the Theme Builder, which is the Theme Builder only accessible in Elementor Pro, so please ensure that you’ve already upgraded to the pro version.

Step 1: Add a Post Content Widget

First, we must add a Post Content widget to your Single Post templates. On your WordPress dashboard, go to Templates -> Theme Builder. Once you enter the Theme Builder window, navigate to the Single Post tab, create a new single post template, or select an existing one. Once in the Elementor editor, please add a Post Content widget to the canvas area. Then, you can edit and style up your widget to your preference.

Note: This widget is a REQUIRED element on the Single Post Template. If this widget is not added to the Single Post Template, the Elementor editor will not load.

Step 2: Add the CSS Snippet

Next, we will add a simple CSS snippet to the Post Content widget. On the widget settings panel, go to the Advanced tab -> Custom CSS. Afterward, please copy the CSS snippet below and paste it into the Custom CSS field.

selector .elementor-widget-container::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 using selector .elementor-widget-container::first-letter. Then, the drop cap applies by adding some properties and values inside the CSS. You can check the complete list of Elementor widget selectors here.

That’s it. If you’re happy with the result (as in the image above), you can keep it like this and save or publish your project if you want to. But, if you want to customize your drop cap, such as the size, weight, etc., you can edit the values in the CSS snippet.

The Bottom Line

This article shows how easily you can create a drop cap in the Elementor Post Content widget. 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.

This page may contain affiliate links, which help support our project. Read our affiliate disclosure.
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 save yearly expense up to $219? why not?

Leave a Comment

Haven’t used Elementor Pro yet?