Unexpected Multiple H1 Tags Generated by X-Theme/Cornerstone

Hello,

While reviewing one of our sites for proper SEO layout, I noticed that X-Theme/Cornerstone is dynamically generating multiple h1 tags on a page, tags that I did not manually set in Cornerstone. It appears that the graphics or icons in the mega menu are each creating an h1 element with the text “catapult.”

I’m unsure why this is happening or how these tags are being set. Any insight or assistance you can provide to help resolve this would be greatly appreciated. Having multiple h1 tags on a single page can negatively impact our SEO rankings, so this is a high priority for us.

Thank you in advance!

Hey @launchcatapult,

The issue is coming from the header. I checked each element and there’s no h1 so it’s weird. We need to investigate deeper and that would require removing elements from the header. With that said, please copy your site to a staging server and we’ll do troubleshooting in the staging. If this site is already the staging site, please confirm and we’ll do further testing.

Thanks.

Hello Christian,

Please continue forward, this is a staging/dev site so we already have a backup or another version of it within a local environment. Thanks so much for your help with this.

Hi @launchcatapult,

I have investigated the Mega Menu under the Ideas and found that the Author is set with the h1 tag but set hidden to all the screen sizes. That is creating a problem for you.

Please remember that set hidden will hide the element in a specific screen size using CSS class, but it is still loaded in the DOM. If you don’t need that, I would suggest you delete that to get rid of this problem.

Note: You can also click on the eye icon just beside the Element to stop loading.

Thanks

Perfect, thanks so much for helping with this. I will make sure to remove that from the actual element. Also thanks for the clarification between the eye icon and the screen size hiding points, good to know and will make sure we keep that in mind.

1 Like

You aremost welcome, @launchcatapult.

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