Archived topic
Put menu's link to the right of machine a cafe a grain web site
7 replies · Started by KEVIN on December 22, 2020
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
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 :)
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 :/
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.
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 ^^
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 :)
Hi Tom,
Yeeeah that's awesome it's working perfectly like that : https://machine-a-cafe-grain.fr/
Thank you !!! :)
You're welcome :)