[Support request] Is there an easy way to add drop text to blog posts? (Wordsmith theme)

Home Forums Support [Support request] Is there an easy way to add drop text to blog posts? (Wordsmith theme)

Home Forums Support Is there an easy way to add drop text to blog posts? (Wordsmith theme)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1998905
    Aaron

    I am looking to add drop text to the first letter on my blog posts. Ideally I’d like to only add it for one specific category, but if it’s easier to just apply it to all posts that will work too. I am not very technical or well versed in CSS and I’m worried I might screw my site up by doing it incorrectly.

    #1998984
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS to your site:

    .single-post .entry-content p:first-of-type:first-letter {
      font-weight: bold;
      font-size: 3em;
      line-height: 1;
      float: left;
      padding-right: 0.25em;
    }

    It should apply the drop cap to the first letter across all posts.

    #1999578
    Aaron

    Thanks David, I installed the Easy CSS plugin and this worked. I appreciate the help

    #1999688
    David
    Staff
    Customer Support

    Glad to hear that!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.