double H1 in the template - Forum | JoomShaper
Solved Templates

double H1 in the template

Asked by ach 3 months ago Last activity 3 months ago

I am using the macro template and noticed that the site logo is inside an H1 tag.
Why?
That’s not right; it interferes with the site's H1 SEO.

Where can I fix this?

Accepted answer

Marked as the solution
ach Asked this

There was an update on June 17, 2026, but apparently the error persists.

This is an error that shouldn't exist on a premium product.

Thanks anyway for the fix.

3 more replies

Paul Frankowski Senior Staff

Hi,

indeed in some older templates this could be used, sorry :/

The only way to fix it is by template source code edition.

Paul Frankowski Senior Staff

In template folder find file /features/logo.php

Edit lines: 56, 66, 68, 76 - change from <h1> to <div> and </div> save changes!

then use extra Custom CSS in Template Settings

#sp-header .logo div {
  font-size: 24px;
  line-height: 1;
  margin: 0;
  padding: 0;
  display: table-cell;
  vertical-align: middle;
}
Paul Frankowski Senior Staff

I agree, I shared that topic with our developer. Sorry, and thanks for understanding.

Log in to reply.