Drop caps

  • Author
    Posts
  • #130343

    logatfer
    Member

    Hi there! Is there any piece of CSS that we could use to enable drop caps at the beginning of each post? I’ve tried it writing it as it, but with no results…

    Thanks!

    The blog I need help with is logatfer.blog.

    #130514

    tarasdashkevych
    Theme Author

    Hello,

    To add a drop cap, simply wrap the first letter of your paragraph with a “span” tag that has “dropcap” class. You can do it via the HTML editor: https://en.support.wordpress.com/editors/#html-editor

    Example of the text:

    
    <span class="dropcap">W</span>ordPress started in 2003 with a single bit of code to enhance the typography of everyday writing and with fewer users than you can count on your fingers and toes.
    

    Hope this helps.

    Thank you,
    Taras

You must be logged in to reply to this topic.