Site logo

Archived topic

header into ?

7 replies · Started by supazena on November 20, 2018

Viewing posts 1–8 of 8

Hi,
I'm using GP with Elementor.
When I use Header from my GP header library then Elementor I've got this semantic structure :

<div>here is my personnal header from GP Library</div> 
<main>some article/section here</main>

Do you know if it possible to include the <div> header into the <main> or do I to plan making header direcly into Elementor ?

Hope I was clear enough in my explaination
Greg

Hi there,

did you have an image you could share? I am not clear on what it is or why you would need to. Let me know.

Hi David

Here is an image, yellow markup is a personnal header from GP header library (just H1 with text). I can see pesonnal header are out the <main> section.

The big question : is it possible to put this header content into <main> or not.
If not, I'll just think my page structure with an another way but it's good to know

[url=https://goopics.net/i/1wYDE][img]https://i.goopics.net/1wYDE.jpg[/img][/url]

Will the main content be constructed in Elementor?

nope, just some Lorem ipsum test text in WP

Currently, that's not possible - it hooks into the generate_after_header hook.

It may be worth making that hook location filterable in the future so it can be moved around.

Noted :)

David, Tom : thanks for your answer !

You're welcome, glad we could be of help. Sort of...

This archived topic is closed to new replies.