Removing Drop Caps

Home Forums Automattic Small Business Removing Drop Caps

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #164843 Resolve

    Richard Puhr

    Hello,

    I’m enjoying the Small Business Theme a lot,
    the only thing that really bugs me is the automatically big initial letter
    at the start of a page. Where can I disable it?
    So far I could not find an option …

    Thanks!

    The blog I need help with is richardpuhr.net
    #164844

    Brooke

    Hi there,

    I’m so glad to hear you’re enjoying the theme! To remove the drop caps you can adding the following CSS to your theme customizer’s ‘CSS’ section:

    .wf-active .style-pack-classic .entry-content > p:first-of-type:first-letter {
    font-size: inherit;
    }

    You can learn more about adding CSS here:

    https://en.support.wordpress.com/custom-design/editing-css/

    Also, I see you have a Premium plan which entitles you to live chat and email support which you can access here:

    https://wordpress.com/help/contact

    You’re welcome to still post in these forums, but those other support avenues may be faster, and you’ll always get a staff reply.

    #164845

    Richard Puhr

    Hello,

    thank you. Works like a charm!
    Now the only thing I noticed is, that text highlighting often doesn’t work on the first letter of the article. In HTML view it looks correct, so I wonder whether that could be a bug or something, maybe something to do how the drop caps work internally?
    If I put a picture first, then it works.

    You can see it under “Video and Animation” on my page.

    Any advice is greatly appreciated.

    #164847

    Brooke

    Hello again!

    You’re correct, it’s definitely being caused by leftover styles from the drop cap. You can replace the code we added earlier with this:

    .wf-active .style-pack-classic .entry-content > p:first-of-type:first-letter {
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
    }

    #164848

    Richard Puhr

    Great! Thanks again and happy holidays!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.