Created
September 23, 2015 06:55
-
-
Save offroadkev/f8c691901c6294b76b04 to your computer and use it in GitHub Desktop.
Quick Dropcaps on First Letter of First Paragaph of WordPress Post
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* Add Dropcaps to blog articles | |
* | |
*/ | |
.entry-content p:first-child:first-letter { /* Replace .entry-content class with whatever class you use for blog content p tags */ | |
font-size: 120px; | |
font-family: ProximaNovaBold; | |
padding: 0px; | |
line-height: 52px; | |
float:left; | |
color:#f16625; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment