[Resolved] Using hooks with merged site header

Home Forums Support Using hooks with merged site header

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1355919
    Rachel

    Hello!

    I hope this question wasn’t asked before and I apologize if it has!

    I’m trying to find a solution where I can put a notification bar under the navigation bar when the page has the site header set to merge with the content. I can do it with the after_header hook if the page doesn’t have site header merged with content but I really like to keep the transparent navigation bar look. What would be the solution to this?

    Thank you so much in advance!

    —–

    Oops! Site added – that would have been helpful, sorry!

    So the Merge with Content is currently set to No Merge. When I set it, the green notification div doesn’t stay where you see it now. How can I set it so that I have both Merge with Content and have the green bar where it is currently?

    #1355962
    Leo
    Staff
    Customer Support

    Hi there,

    Not quite sure if I fully understand.

    Can you link me to the page in question so I can see your current setup?

    You can edit the original topic and use the private URL field.

    Let me know 🙂

    #1356009
    Rachel

    Updated the original topic! Thank you 🙂

    #1356284
    David
    Staff
    Customer Support

    Hi there,

    not sure how thats going to work.
    You could try adding your element to the inside_navigation hook.
    Then this CSS to position it below the menu:

    .inside-navigation {
        flex-wrap: wrap;
    }
    
    .funding-info {
        order: 100;
        flex: 1 0 100%;
    }
    #1357386
    Rachel

    Perfect! I was so stuck on the thought of using after_header hook. Thanks David and Leo 🙂

    #1357562
    David
    Staff
    Customer Support

    Glad we could be of help

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