Closed czernobogBlog closed 2 weeks ago
In config.toml set:
[params]
# if you set this to 0, only submenu trigger will be visible
showMenuItems = 3
Thank you! If you don't mind answering then I have one more question; How do I manage arragement of each menu? I.e. Which menu should come first, second, third... and so on.
Now that you mention it, this isn't anywhere on the README. Here's how to set a weight on each menu:
[languages.en.menu]
[[languages.en.menu.main]]
identifier = "about"
name = "About"
url = "/about"
weight = 10 # first place
[[languages.en.menu.main]]
identifier = "RSS"
name = "RSS"
url = "https://my-website/index.xml"
weight = 20
[[languages.en.menu.main]]
identifier = "donate"
name = "Donate"
url = "/donate"
weight = 30 # last place
I'm glad I could be of help :smile:. This is my first time helping in a GitHub issue.
Hi, I want to manage the location of menu in the theme. Only after adding two menu the third menu goes in to "Show more" I don't want this. I want the third menu beside the rest of the menu instead of it going to "Show More"
Here's my menu config, kindly let me know what changes I will have to do