SOLVED: Heading element with prefix without spacing (SEO Problem)

The heading element allows you to specify a prefix. However, the prefix is appended without spaces. This is problematic for SEO and in my opinion a problem.

Especially if you work with the heading element as H1.

For example, you could use an H1 with a prefix (e.g. as a Accent Heading).

The result would be:

<h1 class="brxe-post-title heading-wrapper__heading"><div class="post-prefix">Cars</div>Ford</h1>

The problem is that, from an SEO perspective, the headline is now “CarsFord” (one keyword) ( and not “Cars Ford” (two keywords).

Hey @stabilo,

if you add " " instead of a space, so kind of like this:
image

This should create a space. In addition, you can also use basic text element or heading element and manually add prefix/suffix with space.

I’ll mark it as a no bug.

Best regards,
M

I’ll just add an unrelated comment that we shouldn’t really be having a <div> as a child of an <h1>.

See the HTML standard for h1-6, it should only contain phrasing content.

That’s right, and by default, you have span tag inside. It’s only if you enable “Prefix block” or “Suffix block”, that you get div elements.

image

Best regards,
M

1 Like

Yeah, I understand that. I’m just pointing out that we’re providing an option for users to include an html tag that’s not recommended.

Hello, thank you. Yes, I am aware that this is possible. But is it the way it should work?
We now know what happens. But very many beginners don’t know and will probably never notice the error.

Yeah, that’s true. I’ll talk with the rest of the team, to see if we can improve on that.

The problem with that is that somebody may not want to have space there. If we add space automatically, then it’s not So if anything, there could be an option for that maybe. I’ll mention this also, while we will talk about a div element inside h1.

Thank you both,
M

1 Like

Ok, I think an option for the space would be useful. Otherwise, I see big SEO problems for small web developers who know little or nothing about it.

Hi guys,

We’ve improved this in Bricks 1.11 BETA, now available as a manual download (Bricks – Account)

Please let us know if you are still experiencing issues.

You can see the full changelog here: Bricks 1.11 Changelog – Bricks

As with any beta release, please do not use it on a production/live website. It is only meant for testing in a local or staging environment.

Best regards,
Matej

Thank you very much!
I have tested it and I am not sure if you have understood the problem I have described.

You now have the option to add integrated “Spacing”.
However, this is only a visual representation.

The described problem still remains.

Prefix: “Car brand”
Title: “Mercedes”

What crawlers see is “Car brandMercedes”.
I have checked this with various SEO tools.

It does not matter whether you include a visual spacing.
I think that a checkbox “Add space ( & nbsp;) after prefix” would make more sense.
For crawlers it should look like this “Car brand Mercedes”

Is there a reason why you introduced the change only for the Post Title element and not for Product Title and other elements with prefix (e.g. Heading)?

@Matej I’m not sure if my last comment was noticed by them.