Home › Forums › Gillion Theme › h2 to h1
Home › Forums › Gillion Theme › h2 to h1
Hello,
I created a page, but the page name is set as the h2, can i change that into a h1?
Kind regards,
Lars
Hi Lars,
I hope you are well today and thank you for your question.
Could you please share me the page URL from your site where it is displaying so that I can help you?
Best regards,
Shufflehound team
Hello,
This is what i mean. I want to change the h2 into h1.
Kind regards,
Lars
It is titlebar and you can change it as described in the following topic.
https://support.shufflehound.com/forums/topic/change-titlebar-to-h1/#post-15931
Thank you. Can you tell me were and what i have to change in the code. I can’t find it in the titlebar.php…
Kind regards.
Could you please share me the page URL from your site where you want to change it so that I can help you to achieve it?
Hello,
This is the url: https://www.nuhardlopen.nl/hardloopblessures/
Lars
Solution for this topic
To change it copy the below theme file in Gillion child theme in the same directory structure.
/gillion/inc/templates/titlebar.php
Then change below code on line number 32
$heading = ( is_archive() || is_search() || is_404() ) ? 'h1' : 'h2';
As following
$heading = 'h1';
Hello,
Thank you!
Lars
You are always welcome here 🙂