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)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form