[Resolved] Using a specific font for post titles

Home Forums Support [Resolved] Using a specific font for post titles

Home Forums Support Using a specific font for post titles

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #651259
    avani

    Hi, Im wanting to use either a local font or Typekit or a specific google font perhaps just for the post titles, I know post titles use H2 and H2 may also be used in the content. How can I target just the post titles?

    thanks

    Avani

    #651279
    Leo
    Staff
    Customer Support

    Hi there,

    On the archive page it would h2.entry-title. On Single page would be h1.entry-title

    Let me know if this helps ๐Ÿ™‚

    #651291
    avani

    thanks, could you provide the CSS to change the font, thanks

    #651312
    Leo
    Staff
    Customer Support

    Should be something like this:

    h1.entry-title {
        font-family: Helvetica;
        font-weight: normal;
        font-size: 20px;
        line-height: 1.3em;
    }
    h2.entry-title {
        font-family: Helvetica;
        font-weight: normal;
        font-size: 20px;
        line-height: 1.3em;
    }
    #651326
    avani

    thank you!

    #651345
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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