Support » Themes and Templates » Post title change to h1

  • Hey guys,

    I really hope you can help me out.

    I saw that my post title is H2 and i really want to change it into H1.
    But i dont know how, can anyone explain it to me?

    Here you can see the title “Hello World” is H2

    I tryed to Google it but it isnt helping

    Thanks already!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael


    Forum Moderator

    edit ( ) index.php of your theme;


    <h2 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php echo esc_attr( get_the_title() ); ?>" rel="bookmark" ><?php the_title(); ?></a></h2>

    change both h2 to h1

    repeat the same in archive.php if you need.

    Alchymyth thanks for your response.
    I am using Lexicon Child theme of the Genesis family. I went to editor and didn’t find index.php. So I went to the cPanel to locate Index.php but I didnt find the script you presented above in it.

    Can I copy this one and paste it in the index.php?

    Thanks already in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post title change to h1’ is closed to new replies.