NO BUG: HTML tags (Hn) by default not disabled

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.

Hi when I want to disable the HTML balise of the Titles it will remain as a H3, thus it creates duplicated H3 on all pages and my structure will start with H3 because Title element from my Header are set to H3.

See below images

bug bricks H3 by default 2

Hi Yanni,
Welcome to the forum, and thanks so much for your report!

Unfortunately, I don’t understand what this report is about. You insert heading elements, which are naturally output as h1 through h6 tags (depending on what you set).

If you don’t want to use headings, use the basic text or rich text element.

Best regards,
timmse

You can set a heading HTML tag to “custom” and make it a div, p, span, or whatever you want. It doesn’t have to be a heading tag.

Correct, but it makes much more sense to generally use the elements that are appropriate in the respective context. The heading element remains a heading element in terms of its class, even if it is output as a div.

1 Like

Hi,

Thanks both of you for such a very fast reply.

Since I disabled the HTML balise I thought it would not display by default a H3 or so… Is it possible to simply disable it for a Title ? Since it concern now so many elements relying on Title element but that needs to be without heading…

The default tag when adding a heading element is h3, so it’s actually not “disabled” if you don’t set anything. You can set a different default h-tag for new heading elements (such as h2) in the theme styles, but there’s no way to change them globally, sorry.

1 Like

Hi another issu regarding Hn strucutre I noticed (and this was not the case when using Elementor) is that all Headings that are set for mobile version will also appear when crawled by google bot, so it makes duplicated Title and wrong strucutre. It is a time consumming to set all these Title as div…

Sorry, I don’t understand. Can you please clarify?

You should never ever do that / there’s no reason to do that.

No offense, but I think you have some misunderstandings about h-tags.

Hi,

Thanks for the reply.

Well, I use multiple advanced SEO tools, such as screaming frog for crawling the website and fixing technical SEO issues. I appear that all pages that have different Title between desktop and mobile version will each generate Headings, so for a desktop H1 and mobile H1 that are different due to layout, then Bricks will produce duplicated H1. And so on … So each time we have a to change the Title element on mobile it will create a duplicated heading. Each time we will have to changed it to div so the overall Hn structure remains clean and readable.

I never had to do that for Elementor …

Bricks does not duplicate anything. If you have two different layouts and hide one of them, but use the post title element or a heading element with h1 in each of them, there will always be two h1 tags in the HTML, which is not the correct approach.