Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Add Drop Caps in WordPress Posts

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to add drop caps in WordPress posts?

Drop caps are a great way to start a paragraph. By having a large first letter, they can help you capture your reader’s attention and get them interested in reading your content.

In this article, we will show you how to easily add drop caps in WordPress posts, step by step.

How to add drop caps in WordPress posts

What Is a Drop Cap?

A drop cap is a styling technique commonly used in print books and magazines that feature longer reads. The first letter of the starting paragraph in each chapter uses a large font size.

Normally, the large capital letter extends downwards to drop below the first few lines, which is why it’s called a “drop cap.”

Drop cap plugin preview

Adding drop caps helps your content to stand out and catch your visitor’s attention. They add a more formal and traditional touch to your site’s design.

There are several ways to add drop caps to a WordPress website. You can use the built-in option in the WordPress block editor or use a plugin.

That being said, let’s see how you can easily add drop caps in WordPress posts using different methods.

Feel free to click the links below to jump ahead to your preferred method:

Method 1: Add Drop Caps Using the WordPress Block Editor

If you want to add drop caps using the default WordPress block editor, then this method is for you. Keep in mind that while this method works, you have to manually add drop caps for each post.

If you are looking for an automatic method, then just skip to method 2.

First, head over to the Posts » Add New page from the WordPress admin dashboard. Now, simply click the ‘Add Block’ (+) button in the top left corner of the screen.

After that, locate and click the Paragraph block to add it to your post.

add paragraph block to post

Next, you need to open up the Block Settings Panel in the right column.

Once you do that, scroll down to the ‘Typography’ section and click the three-dot icon next to it. This will open a list of more options where you have to select ‘Drop Cap’ to add it to your block panel.

Enable drop cap under Typography

Once the drop cap feature has been added, simply toggle the switch next to the ‘Drop Cap’ option to show a large initial letter at the start of a paragraph.

Don’t forget to click the ‘Save Draft’ or ‘Publish’ button at the top to save your changes.

Toggle drop cap switch

You have now successfully added a drop cap to your post.

This is how it looked on our demo site.

Drop cap preview

Note that the built-in drop caps option in the block editor will use your WordPress theme’s styling for the color, font, and size of the first letter.

If you want to change the style of your drop caps in the WordPress block editor, then you’ll have to use custom CSS code to style your drop caps.

Method 2: Add Drop Caps Using CSS Code

For this method, we will be using custom CSS code to automatically add drop caps to the first paragraph of each post. You can either add the CSS code to your theme’s stylesheets or use a code snippet plugin.

We recommend using WPCode because it is the #1 code snippet plugin used by over 1,000,000 sites across the globe. It makes it super easy to add code to your site without any hassle.

First, you need to install and activate the WPCode plugin. For more instructions, see our beginner’s guide on how to install a WordPress plugin.

Note: WPCode also has a free plan. However, you’ll need the premium plan of the plugin to unlock the CSS Snippet option.

Upon activation, visit the Code Snippets » +Add Snippet page from the WordPress admin sidebar.

From here, hover your mouse over the ‘Add Your Custom Code (New Snippet)’ option. This will reveal the ‘Use Snippet’ button that you need to click.

Add new snippet

Now that you are on the ‘Create Custom Snippet’ page, you can start by entering a title for your code snippet. It can be anything that will help you identify the snippet.

After that, select ‘CSS Snippet’ as the ‘Code Type’ from the dropdown menu on the right.

Select CSS Snippet as code type

Next, simply copy and paste the following code in the ‘Code Preview’ box:

<style type="text/css">
.entry-content p:first-child:first-of-type:first-letter {
    font-size: 85px;
    line-height: 1;
    padding-top: 0px;
    padding-right: 10px;
    padding-left: 4px;
    color: #000080;
    float: left;
    font-family: 'Tangerine', serif;
    text-shadow: 4px 4px 4px #aaa;
</style>
}

This is how your code will look once you paste it into the ‘Code Preview’ field.

Code preview for drop caps code

Now, you have to scroll down to the Insertion section and select the ‘Auto Insert’ method if you want to execute the code all over your site.

You can use the ‘Shortcode’ method if you only want to add drop caps to specific posts.

Once you save the snippet, you’ll be given a shortcode that you can paste into the block editor of the posts where you want to add drop caps.

Choose an insertion method

After that, head back to the top of the page and toggle the switch to ‘Active.

Finally, click on the ‘Save Snippet’ button.

Save Drop Caps snippet

Your CSS code snippet will now be live on your site.

This is how the drop caps looked on our demo site using the CSS snippet above.

Custom code preview

Method 3: Add Drop Caps Using a Plugin

If you are hesitant to add custom CSS, then you can also add drop caps using the Initial Letter plugin.

This plugin also allows you to change the size, color, and font of the drop caps.

Note: Keep in mind that the Initial Letter plugin hasn’t been tested with the latest version of WordPress and is no longer maintained by the developer.

However, we tested the plugin, and it works fine. If you are still unsure, then take a look at our article on using outdated plugins.

That being said, first, you need to install and activate the Initial Letter plugin. For more instructions, check our guide on how to install a WordPress plugin.

Upon activation, navigate to the Settings » Initial Letter page from the admin sidebar. From here, you can configure settings for drop caps.

First, you need to select if you want drop caps to be automatically applied to new posts. To do this, choose the ‘Yes’ option from the dropdown menu next to the ‘Default for Posts’ option.

Next, choose your preferred font, color, size, and padding for drop caps.

Note: You may need to come back to the settings after previewing your website to adjust these styling options.

Choose the Yes option to activate drop caps

After that, check the box next to the ‘Enable for excerpts’ option if you want drop caps to be enabled for post excerpts.

You can also check the box next to the ‘First Paragraph Only’ option if you only want drop caps to be added to the first paragraph of your post.

Configure Initial Letter plugin settings

Finally, don’t forget to click the ‘Save Changes’ button to store your settings.

You can now visit any post on your website, and you’ll see drop caps in action in the first paragraph of your post.

Drop cap plugin preview

If you want to remove drop caps for a post, you can also do that by opening the post in the block editor.

Once there, scroll down to the ‘Initial Letter’ section and select the ‘No’ option from the dropdown menu. This will disable the drop caps for that post.

Disable drop caps from a post

We hope this article helped you learn how to add drop caps in WordPress posts. You may also want to check out our guide on how to check if your WordPress posts are ranking for the right keywords and our top picks for the best block-based WordPress themes for your site.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

7 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Jonas says

    Hi, is there a way or a script to make it so that the class .has-drop-cap is automatically added only to the first paragraph when creating a new article? I think it would be best and much more natural to WordPress.

    • WPBeginner Support says

      We do not have a method we would recommend for that at the moment, we would recommend using our CSS method for something close to that.

      Admin

  3. Anna says

    Hello, I’m having problems with getting the drop cap in my text. i’ve contacted the person who designed the theme and he says it should work fine. Please help me out, i’ve tried everything, even adding it manually.Cheers, Anna

  4. anamika says

    i am using this plugin but on my blog page , it’s not working [all pages even single page working]

  5. Mehmood Ul Hassan says

    Thanks a lot for helping me in this matter. Mostly famous sites use add drop caps in posts and I always wanted it in my own wordpress site too. I am so much happy with this plugin. My blog posts now look professional.

  6. James Carter says

    A common typographic convention is to follow the dropped cap by setting the remaining letters of the first word in small capitals. This looks better, helps the eye make the transition from the large dropped cap into the body of the text.

Leave a Reply to James Carter Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.