[Support request] Add menu on hook

Home Forums Support [Support request] Add menu on hook

Home Forums Support Add menu on hook

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1993141
    Alfonso

    Hi there, i need to add a new menu into a this hook: generate_after_logo

    How i can do it?

    #1993311
    David
    Staff
    Customer Support

    Hi there,

    what type of menu item are you wanting to add ? Is it just a link ?

    #1993523
    Alfonso

    is a menu item with dropdown subitems

    #1993730
    David
    Staff
    Customer Support

    Is there going to be another navigation to the right?
    If so it may be simpler to just use some CSS to push one of the primary nav menu items to site beside the logo.

    #1993774
    Alfonso

    ok, i need move this item menu to that area:

    https://snipboard.io/XTbHmN.jpg

    The idea is to replace the current language switcher by the new menu item “language”

    You can check the website:

    https://laprairievirtualbaevent.com/video-stream

    #1994144
    Ying
    Staff
    Customer Support

    Hi there,

    I would recommend activate secondary navigation, add the account icon and the language menu items both to a new menu, then assign it to the secondary navigation.

    Set secondary navigation location to float right.

    You should not need using hooks in this way.

    Let me know if you need further assistance πŸ™‚

    #1995112
    Alfonso

    Hi Ying,

    I’ve activated the secondary navigation but i can set on the right of logo

    #1995172
    Ying
    Staff
    Customer Support

    1. Can you go to customizer > layout > header, set Header Alignment to Left?

    2. Set secondary navigation location to float right.

    3. Add this CSS to center the logo:

    #masthead .site-logo {
        position: absolute;
        left: 50%;
        transform: translatex(-50%);
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know if this helps πŸ™‚

    #1995467
    Alfonso

    Thanks!

    #1996330
    Ying
    Staff
    Customer Support

    You are welcome πŸ™‚

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