[Resolved] How to add an extra font size

Home Forums Support How to add an extra font size

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

    Hello!
    I am quite new to GP and GPP, but I really love the theme and its possibilities.
    For a web site I am making I would like to add an extra big font size to use as a sort of intro text on all pages (with sections). I am using the H4 now, but I think that’s not the solution. So I would like to add an extra size to the CSS. Can anyone help me out and tell me how to do this?
    Thanks in advance!
    Eva

    GeneratePress 1.4
    GP Premium 1.4.3
    #391035
    Leo
    Staff
    Customer Support

    Hi Eva,

    You can wrap the text in a span like this:
    <span class="intro-text">text here</span>

    Then target it with this CSS:

    .intro-text {
        font-size: 20px;
    }

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

    #391134
    Eva

    Thank you very much for your fast reply, Leo.
    So simple, and yet so efficient!
    It works really well.

    Cheers,
    Eva

    #391192
    Leo
    Staff
    Customer Support

    You’re very welcome 🙂

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