Archived topic
Two Header Element on homepage not working
3 replies · Started by Antonio on September 6, 2021
Hi there,
I have a private area. Upon accessing it, I need it to show the user an image and the text "private area" in the header so that it can be differenciated from the public area.
By using Header Element I've managed to make that work in all pages except for the homepage. It might be because in the homepage I have another Header Element with a Grid Magazine that is working correctly.
Mi question is, is the homepage not working because there is already another Header Element? Can there be more than one element in the header? Is there any workaround so that I can have two elements on the header?
Thank you
Antonio
Hi there,
thats correct their can only be one Header Element.
But you can use the Block Element instead - which you can have as many as you like. Theres a Page Hero option which sets it up for you:
https://docs.generatepress.com/article/block-element-page-hero/
And you can increase the Priority to a higher number to move it down the page.
Thanks David!
It worked! The problem was solved.
Regards,
Antonio
You're welcome