Remove caps from first line of posts (booklite theme)

  • Author
    Posts
  • #2545039

    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 psmsblog.com.

    #2545135
    .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;
    }

    #2545190

    Thanks, worked great! One more quick question — how would I remove the italics?

    #2545191

    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;
    }

    #2545194

    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.