[Resolved] Default of H1 for Post Titles

Home Forums Support [Resolved] Default of H1 for Post Titles

Home Forums Support Default of H1 for Post Titles

  • This topic has 3 replies, 2 voices, and was last updated 5 years ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #857099
    Dave

    Hi,

    Can you guide me to a resource that can tell me how to target post titles for reducing the font size? GPP uses H1 by default, and I would like to override that and use another Header size or manually adjust it. I’ve searched the forum, but it’s not clear to me.

    Thanks for a great product!

    Dave ~

    #857106
    David
    Staff
    Customer Support

    Hi there,

    you can add this CSS:

    /* Desktop */
    .single-post h1 {
        font-size: 48px;
    }
    
    /* Mobile */
    @media (max-width: 768px) {
        .single-post h1 {
            font-size: 32px;
        }
    }
    #857206
    Dave

    Thank you. That worked out well.

    #857213
    David
    Staff
    Customer Support

    Glad to be of help

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