[Resolved] Page header

Home Forums Support [Resolved] Page header

Home Forums Support Page header

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #378222
    Chad Biggs

    I have a div placed in the gp hooks before header. I have a menu in the page header, when I tick “place content behind header”, my before header hook div is hidden behind my menu. Do you have any suggestions to show the hook div, but still nor mess with what I have going on in my page header?

    -Chad

    #378356
    Leo
    Staff
    Customer Support

    Hi Chad,

    Can you link us to the site possibly? Thanks!

    #378372
    Tom
    Lead Developer
    Lead Developer

    You could try changing the priority of the Before Header hook:

    add_action( 'wp', 'tu_change_hook_priorities' );
    function tu_change_hook_priorities() {
        remove_action('generate_before_header', 'generate_hooks_before_header', 4);
        add_action('generate_before_header', 'generate_hooks_before_header', 0);
    }
    #378471
    Chad Biggs

    Changing the priority didn’t help. Could you have a look please? Here

    Thank you,
    -Chad

    #378606
    Tom
    Lead Developer
    Lead Developer

    What’s the content inside your hook?

    #378742
    Chad Biggs

    There is a grid parent and 3 grid-33’s, some text and 3 fontawesome icons. The whole div is only about 30px high.

    #378945
    Tom
    Lead Developer
    Lead Developer

    Can you add the class grid-container next to your grid-parent class (with a space in between).

    #379128
    Chad Biggs

    Yes, that was perfect Tom! Thank you.

    #379245
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.