[Support request] Inside Navigation Hook, Postion Inserted Block

Home Forums Support [Support request] Inside Navigation Hook, Postion Inserted Block

Home Forums Support Inside Navigation Hook, Postion Inserted Block

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #2350241
    Scott Pringle

    I have a hook element with HOOK NAME= inside_navigation. The block I am adding appears in front of the right justified primary menu. I was hoping that it would be above the primary menu and also right justified. All my CSS attempts have failed. Any help/suggestions would be appreciated.

    https://eoshop.pringletech.com

    Scott

    #2350251
    Fernando
    Customer Support

    Hi Scott,

    Try after_primary_menu hook instead.

    #2350992
    Scott Pringle

    When I change the hook name to after_primary_menu then my block is still in line with the primary menu, but at the end instead.

    #2350999
    Ying
    Staff
    Customer Support

    Are you looking for something like this?
    09.22.2022-12.58.54

    1. If so, try add this CSS:

    .top-menu {
        width: 100%;
        order: -1;
    }
    div#primary-menu {
        margin-left: auto;
    }

    2. Remove the orange background color from the container which contains the buttons, and set the orange background color for the button blocks.

    #2351016
    Scott Pringle

    Almost, the block is not justified to the right.

    #2351040
    Ying
    Staff
    Customer Support

    Which block is not justified right?

    #2351045
    Scott Pringle

    The top orange button group that is above the primary navigation.

    #2351049
    Ying
    Staff
    Customer Support
    #2351055
    Scott Pringle

    Yes, the css has been added to the customizers additional CSS section.

    #2351108
    Ying
    Staff
    Customer Support

    2. Remove the orange background color from the container which contains the buttons, and set the orange background color for the button blocks.

    Have you done this? The CSS is in step 1.

    #2351621
    Scott Pringle

    The element block is now shifted to the right. However, when logged in, the block is left justified. Strange, but I can live with this.

    Thank you for your help!

    #2351909
    Ying
    Staff
    Customer Support

    You are welcome 🙂

    #2351911
    Ying
    Staff
    Customer Support

    You can also add this CSS to target the buttons block in the element and make the button blocks same height:

    .gb-button-wrapper.gb-button-wrapper-bbbe3fdb {
        align-items: unset;
    }
Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.