Double H1 In The Template - Question | JoomShaper

Celebrate JoomShaper's Sweet 16 with Flat 35% OFF!

Double H1 In The Template

A

ach

Template 22 hours 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?

0
2 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 16 hours ago #226634

Hi,

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

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 16 hours ago #226635

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;
}
0