Home Forums Support DropCap

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2062518
    Nico

    Good morning!

    Our “old” page has a turquoise drop cap for selected posts at the beginning of the article.

    This was selectively inserted manually in the editor using:
    <span class = “mh-dropcap”> D </span> er

    See also the example link.

    Does GP also offer the option to selectively set DropCaps with a snippet in the editor (important: not particularly selective across the board for each post)?

    Thank you very much for your feedback
    Nick

    #2062760
    David
    Staff
    Customer Support

    Hi there,

    you can add this CSS:

    .mh-dropcap {
        float: left;
        position: relative;
        font-size: 80px;
        font-size: 5rem;
        font-weight: 600;
        line-height: 0.8;
        color: #e64946;
        top: 0;
        margin-right: 6px;
        margin-right: 0.375rem;
        text-transform: uppercase;
        color: #00a1b7;
    }

    This will add your current drop cap style to all posts with that SPAN HTML you have used.

    #2062851
    Nico

    Ok David, THAT is definitely the best hack to date. That saves me a lot of time. I was already prepared to change everything by hand.

    I’m excited. Thnx for that.

    #2062921
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.