Site logo

Archived topic

Issue with headings on GP

5 replies · Started by Anton on August 21, 2019

Viewing posts 1–6 of 6

I am moving to GP Premium from my old theme but there are a couple of issues with the heading tags:

1) GP sets the page title as the H1, but my pages already include a H1, which means the page name now appears twice - once in the title and again at the top of each page, which is also a H1.

2) All of the other headings (H3, H4, etc) are now paragraph tags, meaning I'll need to redo all of these across 500 pages, unless there's a setting or some CSS I can use for this and point 1) above?

Thank you!

Hi there,

1) I would recommend removing the original <h1> in your content so GP can add the page title <h1> by default. You can also disable GP's page title:
https://docs.generatepress.com/article/layout-element-overview/#disable-element

But then you will need to add <h1> manually every time when creating a new page.

2) Not quite sure if I fully understand. Your existing HTML shouldn't change when you switch themes.

Can you link me to the page that's actually using GP?

Ah, legend - disabling that element worked perfectly! Thanks a million and sorry for the double post, thought this one might be clearer!

On the other headings, actually I inspected the heading elements and they do transfer, it is just that a H3 (for example) looks much smaller in GP than in my old theme, but I did also significantly increase the font size in GP. That's fine though, it's still a H3!

Yep, all good! I also realised that earlier re the Typography :)

Thanks again!

No problem :)

This archived topic is closed to new replies.