Site logo

[Support request] Disabled primary navigation but element don’t show with hook after_navigation

Home Forums Support [Support request] Disabled primary navigation but element don’t show with hook after_navigation

Home Forums Support Disabled primary navigation but element don’t show with hook after_navigation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2469234
    Erwin

    Hi,

    I have disabled my main menu on a landing page. Instead I want to show a block element. The most logical hook seemed to me to be after_navigation. But when I choose that hook, nothing is displayed.

    In the included example I used the after_header_content hook. But it will not be right aligned. I also aligned the container in this block to the right.

    Which hook should I use to right-align the block element?

    Regards,
    Erwin

    #2469293
    David
    Staff
    Customer Support

    Hi there,

    just a quick note on the after_navigation hook. That hook is inside the primary navigation function, so when you remove the primary nav you remove any of its hooks too.

    Add this CSS to your site to make force the block element to the right:

    .inside-header.grid-container {
        justify-content: space-between;
    }
    #2469339
    Erwin

    Thank you David!

    #2469358
    David
    Staff
    Customer Support

    You’re welcome

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