Aweber - Email Marketing Made Easy
Add Drop Cap Styling To Post or Page In Thesis Photo by: _Nec

Add Drop Cap Styling To Post or Page In Thesis

April 3, 2010 · 7 comments

in Thesis

Thesis 1.x Notice: Thanks for reading this post! So, here's the deal. I wanted you to be aware that this post was written prior to the release of Thesis 2. So that means the instructions or other information provided applies specifically to Thesis 1.x and not the latest 2.x version. Thanks!

It’s very easy to add drop cap styling to the first character in a paragraph in Thesis. You may have seen this feature on the DIY Themes website and it’s also used here on this site. The drop cap styling in Thesis is so simple to implement, and it really looks great on your posts.

Simply add this code to your custom.css file, which can be found in your custom folder inside the Thesis theme folder. You can either access the file through your favorite FTP client, or directly through the Thesis custom file editor screen.

.entry-content p:first-child:first-letter {
	font-size: 3.571em; 
	line-height: 0.76em; 
	padding: 0.04em 0.12em 0 0;
	color: #6F6F6F; 
	float: left;
}

You can further customize the character by editing the css.

Was this post helpful? Consider subscribing to my blog via RSS or

This Site Runs on the Thesis WordPress Theme

Thesis Theme thumbnail

If you're someone who doesn't understand a lot of PHP, HTML, or CSS, Thesis will give you a ton of functionality without having to alter any code. For the advanced user, Thesis has incredible customization possibilities via extensive hooks and filters. And with so many design options, you can use the template over and over and never have it look like the same site.

If you're more familiar with how websites work, you can use the fantastic Thesis User's Guide and world-class support forums to make more professional customizations than you ever thought possible. The theme is not only highly customizable, but it allows me to build sites with a much more targeted focus on monetization than ever before. You can find out more about Thesis below:

{ 7 comments… read them below or add one }

CarCaBot April 21, 2010 at 3:37 am

Thanks for this tip helped me a lot. greeting

Reply

Dr. Lawrence Kindo August 11, 2010 at 11:51 am

I have struggled to create this effect on every post manually, and walla here it is – the magic wand. Thanks for this nifty piece of code.
Dr. Lawrence Kindo recently posted..Why I Decided to Enter a Blogging Contest

Reply

Richard January 17, 2011 at 10:45 am

This doesn’t work for me, any ideas? I’m on 1.8.

Reply

Thesis-Blogs.com January 17, 2011 at 2:36 pm

Hi Richard. I tried this myself and it worked. Make sure you have your text wrapped in paragraph tags. If it still isn’t working, try this:

.custom .format_text p:first-child:first-letter {
	font-size: 3.571em;
	line-height: 0.76em;
	padding: 0.04em 0.12em 0 0;
	color: #6F6F6F;
	float: left;
}

Reply

Wyndham wales March 21, 2011 at 8:08 pm

I’m experimenting with 1.8, and using the first code, I did get drop caps on posts, but not on front (static) page. Then I used the code in the bottom, and got drop caps on my front (static) page, but the drop caps disappeared from the post page. Then I used both codes, and got drop caps on all pages.

Reply

Lijin Lakshmanan April 24, 2011 at 9:58 am

I’m loving it……Thanks

Reply

Kulwant Nagi February 9, 2012 at 6:42 am

Wow Very Simple and Helpful..
Kulwant Nagi recently posted..Why you should Accept Guest Blogging on your Blog?

Reply

Leave a Comment

When commenting, you can use basic HTML tags. If you are pasting in any code, please escape it here and then include that code within <pre></pre> tags. Thanks!

CommentLuv badge

Previous post:

Next post: