WordPress.org

Support

Support » Themes and Templates » [Resolved] Changing Post Title

[Resolved] Changing Post Title

  • Hey there,

    I’m trying to change to post title font to another one. I want to create a child theme but I can’t seem to locate the code to change in the original.

    I would like to change the font itself and make it smaller. Would anybody be able to help?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Kathryn
    Automattic Happiness Engineer

    @zoonini

    There are a couple of ways to change the font on Singl.

    An easy way is through a Google Font plugin, like one of these:

    http://wordpress.org/plugins/search.php?q=google+fonts

    You’d then apply the font through your child theme’s stylesheet, like this:

    .entry-title {
       font-family: Georgia, Times, serif;
       font-size: 1em;
    }

    You would adjust the list of fonts to match whatever Google Fonts specifies there. Backup fonts and generic fonts are always recommended – those get listed after the first one, separated by commas.

    Another way to change a font in your child theme is manually. It’s a little more complicated, but it’s another alternative. My colleague James wrote up a good guide here:

    Custom Fonts Without Plugins for WordPress Themes

    Thank you it worked!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Changing Post Title’ is closed to new replies.