H2s to H1s

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #962438
    tampaseo
    Participant

    We want to change the Event Title from an H2 to an H1 on event pages.

    I found this article: https://theeventscalendar.com/support/forums/topic/help-change-event-heading-form-h2-to-h1-header-font/, but it appears to be out of date as all the single-event.php files do not have the following code:
    <?php the_title( '<h2>', '</h2>' ); ?>

    How can we make those changes?

    #962595
    Barry
    Member

    Hi tampaseo,

    That advice is still basically sound, it’s just that the relevant code in the single-event.php template has changed very slightly. In our current release, you should look for:

    <?php the_title( '<h2 class="tribe-events-single-event-title summary entry-title">', '</h2>' ); ?>

    Of course, please do follow the suggested best practices in our Themer’s Guide and make your changes in a template override 🙂

    #966024
    Barry
    Member

    Hi!

    It’s been a while so I’m going to go ahead and close this topic.

    • Need help with anything else? Go right ahead and post a new topic, one of the team will be only too happy to help
    • Still need help with this issue and need to re-open it? Again, please simply create a new topic and link to this one to provide the team with some context

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘H2s to H1s’ is closed to new replies.