[Resolved] GP Hooks Font Size

Home Forums Support [Resolved] GP Hooks Font Size

Home Forums Support GP Hooks Font Size

  • This topic has 9 replies, 5 voices, and was last updated 4 years ago by David.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #129822
    Monica

    How do you change the font size in GP Hooks?

    #129823
    Tom
    Lead Developer
    Lead Developer

    Hi Monica,

    GP Hooks is all about HTML, so you can do something like this:

    <div class="my-hook-content">
          My content in here
    </div>

    Then you would add this CSS:

    .my-hook-content {
          font-size: 20px;
    }

    Let me know if you need more info πŸ™‚

    #129825
    Jean Paiva
    Developer

    Already answered by Tom.

    #129826
    Monica

    Thanks Tom! I’ll give it a try.

    #129835
    Monica

    I did it! Yay! πŸ™‚

    #129836
    Tom
    Lead Developer
    Lead Developer

    Awesome πŸ™‚

    #1222985
    Steve

    Is there a way to change the GP hooks font size without messing with CSS? I am not that tech-savvy πŸ™‚

    Here is a link to the post, as an example. I would like the affiliate disclosure on top to be smaller font and be italicized.

    https://earningonlinewithme.com/how-to-make-money-on-wealthy-affiliate

    Thank you!
    Steve

    #1223152
    David
    Staff
    Customer Support

    Hi there,

    Hooks don’t work like that – think of them literally as a hook that you hang something on – so you have to style the thing you add to them πŸ™‚

    Edit your Hook and wrap your HTML in <small></small> tags like so:

    <small>This post may contain affiliate links, for more information see my affiliate disclosure <a href="https://earningonlinewithme.com/affiliate-disclosure">here</a>.</small>

    It will make the font 75% smaller then the standard body text.

    #1223453
    Steve

    Thank you SO much, that looks great! I appreciate your help. I also figured out how to center the text. Hey, I am learning, gotta start somewhere.

    #1223685
    David
    Staff
    Customer Support

    Glad to be of help

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