[Resolved] Any option for em or rem rather than px for text size

Home Forums Support [Resolved] Any option for em or rem rather than px for text size

Home Forums Support Any option for em or rem rather than px for text size

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #464656
    Gillian

    Is there any way to have text size for H1, H2 etc set as em or rem rather than px?

    Thanks

    #464755
    Leo
    Staff
    Customer Support

    Hi there,

    We can use CSS for now:

    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1em;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #464790
    Gillian

    Thanks Leo

    Just to clarify – if I put CSS in the GP Additional CSS, it won’t be lost on any theme upgrade?

    Regards

    #464807
    Leo
    Staff
    Customer Support

    Yup that’s correct 🙂

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