Thursday, October 16, 2014

Automatically Add Drop Cap In WP Without Plugin

If you want to automatically add a drop-cap in your article, you can do it easily, by using a Worpdress plugin which will automatically add the drop cap to your first latter or using CSS code.

I prefer using CSS code rather than plugin, if I can do it manually, why would I need a plugin? Thus I pick the CSS way.

But if you prefer using a WordPress plugin, you can visit Wp repository here and download and install the Drop cap plugin.

Drop Cap Wordpress Without Plugin

And if you prefer using CSS code like I do, then add the following to your style.css file.
.post p:first-of-type:first-letter{
font-size: 48px;
padding: 10px;
float: left;

No comments:

Post a Comment