Site logo

[Support request] How can I define heading style such as font size for post only?

Home Forums Support [Support request] How can I define heading style such as font size for post only?

Home Forums Support How can I define heading style such as font size for post only?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2542027
    Jack

    How can I define heading style such as font size for posts only? Thank you.

    #2542073
    Fernando
    Customer Support

    Hi Jack,

    Which specific text are you wanting to change?

    Can you provide a link to one of your posts for reference?

    You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2542126
    Jack

    Sorry for the misunderstanding.

    I mean, how can I set up the CSS for heading tags like H1, H2 for all the posts?

    If I set up from the customizer, all pages and posts will have the same style for headings.

    But I want to show different heading style for the posts only.

    I hope I made it clear.

    Jack

    #2542150
    Fernando
    Customer Support

    I see. In Appearance > Customize > Typography, you can create a Typography rule to target those. Just set the Target Element to Custom – .single.single-post h1.

    Example: https://share.getcloudapp.com/6qubKYJJ

    For H2s, you can create a new rule with this as the target element: .single.single-post h2

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