Code & Snippets

How to Disable Aurora’s Drop Cap on Specific Posts

By Daniel Ekay May 18, 2026 2 min read
Docs Code & Snippets How to Disable Aurora’s Drop Cap on Specific Posts
Share:
Last updated:

When the drop cap is enabled in Aurora, it applies to every single post. If you want to disable it on a specific post without turning it off globally, a CSS rule scoped to that post’s ID is the simplest approach.


Finding the Post ID

The post ID appears in the URL when you edit a post in WP Admin. Look for post=123 in the address bar. WordPress also adds a body class to every post in the format postid-123, which you can use as a CSS selector.


Disabling the Drop Cap on a Specific Post

Add this to Appearance → Customize → Additional CSS, replacing 123 with your post ID:

Drop Cap Style setting in the Single Post Layout panel with Pretty selected
.postid-123 .aurora-dropcap::first-letter {
    font-size: inherit;
    float: none;
    font-weight: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0;
    color: inherit;
}

This resets the drop cap styling back to normal text on that post only. All other posts keep the drop cap.

Drop Cap Style dropdown showing None, Bold, Casual and Pretty options

Disabling on Multiple Posts

Chain multiple post ID selectors if you need to disable it on more than one post:

.postid-123 .aurora-dropcap::first-letter,
.postid-456 .aurora-dropcap::first-letter,
.postid-789 .aurora-dropcap::first-letter {
    font-size: inherit;
    float: none;
    font-weight: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0;
    color: inherit;
}

Disabling on a Category

To disable the drop cap on all posts in a specific category, use the body class Aurora adds for category archive pages. WordPress adds category-{slug} on archives, but for single posts in a category you would need to add a custom body class. See How to Add a Custom Body Class Based on Category.

To manage the drop cap globally — enabling, disabling, or changing the style — see How to Enable and Configure the Drop Cap.

Make your blog stand out

Enjoy the ease and flexibility of Aurora. Create stunning blog designs your readers will love, with live preview editing and effortless template mixing and matching enabled.

Get Aurora today for just $39

Get Aurora