How to remove h1 tag from website name

Hi there,
my website’s showing duplicate h1 tags on blog posts since the website name (aka the homepage link in the header) is tagged as h1.

I’d like to remove the h1 tag from the website name except for the homepage and i’ve already tried several workarounds (like the one explained here https://theme.co/apex/forum/t/remove-h1-tag-from-site-title/3400) but with no success.

Would you help fixing this problem?
Thanks.

Hi,

Thanks for writing in!

That code should work, can you provide us your site url so we can take a closer look.

Thanks

Hi There,

Also you can try moving your _brand.php file to the following location and see if that helps (/x-child/framework/views/global/_brand.php).

If not, you need to purge your server cache and test. If you’re using a service like CloudFlare, you need to clear it’s cache as well.

Let us know how it goes.
Thanks!

1 Like

Thank you so much mldarshana, moving the _brand.php to /x-child/framework/views/global/ worked for me!
And thank you paul.r for taking time to assist me!

You are most welcome!
Glad that it works for you!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.