Changing titlebar from H2 to H1

Home Forums Gillion Theme Changing titlebar from H2 to H1

Home Forums Gillion Theme Changing titlebar from H2 to H1

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • kscott
    Participant

    Hello,

     

    For pages and some categories, the titlebar is displaying as an H2. I tried to find where to update this in the titlebar.php file but couldn’t find where to do this.

     

    Can you point me to the line of code in the titlebar (or elsewhere) that I can change the title from an h2 to an h1? These pages have no H1 with my current configuration.

    Hi @kscott,

     

    I hope you are well today and thank you for your question.

     

    You can change it in the below theme file on line number 33

     

    /gillion/inc/templates/titlebar.php

     

    The code that you have to change is as follows.

    $heading = ( is_archive() || is_search() || is_404() ) ? 'h1' : 'h2';

     

    Best regards,
    Shufflehound team

    kscott
    Participant

    What do I need to change? When I tried to remove ” : ‘h2’ ” it created an error.

    Just change h2 to h1 in the above-shared code.

Viewing 4 posts - 1 through 4 (of 4 total)