Archived topic
Mega menu (without plugin)
5 replies · Started by Emil on September 24, 2018
Hello everyone, I have problem with mega menu. I use code form documentation (Simple Mega Menu) and I can't modify this code to this result:
I have webpage with full-width, but my menu I have position near logo (align right). I can't do full width mega menu.
Next question, Can I add image instead name of category in simple method?
Best Regards
Emil
Hi there,
Any chance you can link us to the site in question?
You can edit the original topic and use the private URL field.
Let me know :)
I add private url field. Thanks!
The mega menu can only go as wide as your navigation width.
If you set it full width here then the mega menu should be full width as well:
https://docs.generatepress.com/article/navigation-layout/
Keep in mind that our CSS solution is for a very simple mega menu. If you are looking for more control then I would recommend looking into a plugin.
And please open a new topic for the image as category title question as it may help others as well.
Thanks!
But when I set it full width, my menu have align to right, when all elements have in container...
Unfortunately like I mentioned our CSS mega menu solution is meant to be simple can't be customized too much.
You might have to look into a using a plugin if you want more control over it.
Sorry I couldn't be more helpful.