Remove caps from first line of posts (booklite theme)
-
In the booklite theme, both “aside” posts and normal posts put the first line all in small caps. I would like to remove the caps, so that it is in normal case font. How would I do so? The only thing I would like to keep in caps are post titles and the blog title.
Thanks in advance!
The blog I need help with is: (visible only to logged in users)
-
.entry-content > p:first-child::first-line { font-variant: normal; letter-spacing: 0; }If you also wish to get rid of the dropcap, add the following.
.format-standard .entry-content > p:first-child::first-letter, .page .entry-content > p:first-child::first-letter { font-size: inherit; line-height: inherit; margin-right: 0; } -
-
I would also like to remove the all-caps post titles. How would I do that? Tried the following, did not work:
.entry-title {
font-variant: normal;
letter-spacing: 0;
} -
Aside posts in Booklite have italics, but we can remove that with the following.
article.format-aside .entry-content { font-style: normal; }To set the titles back to respecting what you actually type in the title field, add the following.
h1.entry-title { text-transform: none; }
- The topic ‘Remove caps from first line of posts (booklite theme)’ is closed to new replies.