[Resolved] 2 header elements?

Home Forums Support [Resolved] 2 header elements?

Home Forums Support 2 header elements?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #755639
    Matthew

    Hi

    I want to stick some text above the header element on the homepage of my site thats not in the white contained box. Is this possible?

    It doesn’t look like it is possible to have multiple header elements with a priority of which shows first?

    You can see the screenshot for what I am trying to achieve, red arrow is where I want to stick some content on the grey background.

    Screenshot – https://i.postimg.cc/Zq23z0dc/Screenshot-2018-12-12-at-16-06-02.png

    Below this is the purple box which is a header element.

    Thanks.

    #755673
    David
    Staff
    Customer Support

    Hi there,

    you can use the hook element:

    https://docs.generatepress.com/article/hooks-element-overview/

    Set it to after_header hook. And set the display rules.

    To keep the content contained wrap it in a div with the following class:

    <div class="grid-container">
    your content
    </div>
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.