[Resolved] Put menu’s link to the right of machine a cafe a grain web site

Home Forums Support [Resolved] Put menu’s link to the right of machine a cafe a grain web site

Home Forums Support Put menu’s link to the right of machine a cafe a grain web site

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1591343
    KEVIN

    Hi,

    I’m doing a website for a client for Machine a cafe a grains it’s a french website. I am trying to put a menu’s link to the right of my logo which is in the middle.
    It’s hard to explain so here is the website : https://machine-a-cafe-grain.fr/

    To the left I want to let “ACCUEIL” and “LES MARQUES”, but to the right just next to the search icon i’m trying to put the “GUIDE”.

    I am using the lastest version of GP Premium and WordPress.

    Thanks for your help

    #1591426
    Leo
    Staff
    Customer Support

    Hi there,

    Try the generate_menu_bar_items hook as instructed in this documentation and video:
    https://docs.generatepress.com/article/generate_menu_bar_items/

    Let me know if this helps 🙂

    #1591482
    KEVIN

    Ok thanks,
    I tried and I was able to put a “GUIDE” Link to the right on desktop (without the sub-menu for now because it’s not taking the css, probably because of a parent id…)

    And in Mobile it’s completely break, i would like it to the MenuBurger as well if possible :/

    #1591883
    David
    Staff
    Customer Support

    Hi there,

    just to be clear are you wanting the Guides menu ( with sub menu ) to appear on the Mobile view beside the Hamburger toggle ? As i am not sure there is a simple solution for this. Let me know.

    #1592671
    KEVIN

    Not beside the hamburger toggle, but into the burger toggle.
    In fact I would like the same behavior as with “Les marques” and sub menu (Expresso Broyeur, Cafetière à grains, machine à café à grain… etc). But just the “guide” menu next to the Search Icone instead of next to “les marques”.

    I hope i am clear ^^

    #1593485
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Try:

    1. Adding this CSS:

    #primary-menu {
        flex-grow: 1;
    }

    2. Moving the Guide menu item after the menu item separator menu item.

    Let me know 🙂

    #1593518
    KEVIN

    Hi Tom,

    Yeeeah that’s awesome it’s working perfectly like that : https://machine-a-cafe-grain.fr/

    Thank you !!! 🙂

    #1595108
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

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