Header tags

Home Forums Calendar Products Events Calendar PRO Header tags

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #950073
    Ben
    Participant

    Hi

    How can I change the ‘Events for March 2015’ header on the calendar view from an h2 to an h1?

    Also how can I change the event title within the day boxes on the calendar itself from an h3 to just body copy?

    Cheers

    Ben

    #950121
    Barry
    Member

    Hi Ben,

    The best starting point for changes like these is our Themer’s Guide, which covers how to safely override and customize our templates.

    How can I change the β€˜Events for March 2015β€² header on the calendar view from an h2 to an h1?

    If you create an override for month/content.php by initially copying the theme’s default version of the template, you will find the following line of code:

    <h2 class="tribe-events-page-title"><?php tribe_events_title() ?></h2>

    Simply modify to use <h1> tags πŸ™‚

    Also how can I change the event title within the day boxes on the calendar itself from an h3 to just body copy?

    It’s a similar process, but the template you would be interested in is month/single-event.php.

    I hope that helps!

    #950353
    Ben
    Participant

    Worked perfectly, thank you πŸ™‚

    #950415
    Barry
    Member

    Our pleasure – I’ll go ahead and close this topic but, for anything else that might crop up, please just post new topics and one of the team will be only too happy to assist πŸ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Header tags’ is closed to new replies.