How do I modify the size of the text in my page titles in WordPress?

Web Design Forums SEO Help Technical SEO Help How do I modify the size of the text in my page titles in WordPress?

  • This topic is empty.
  • Author
    Posts
  • #14029
    Barry Reynolds
    Keymaster

    To modify the H1 page title in WordPress, you can either make this change using the WordPress theme customiser or by using CSS.

    Depending upon the theme you have, you should see an option under ‘Typography > Page Heading’. If not this may be in a different location so you can try the other menu options within the customizer to see if you can make the change there.

    If not, you can use CSS by finding the class used within the HTML first which may look like this:

    <h1 class="hero-title"> Page Title </h1>

    Then add the following css and adjust the font size and line-height as needed.

    h1.hero-title{
    font-size: 24px;
    line-height:1.45;
    }