Customizing Menus
Files: src/config/menu.<lang>.json · Skill level: Beginner
Each language has its own menu file, such as src/config/menu.en.json, src/config/menu.fr.json, and src/config/menu.ar.json. In the Tina edition, edit Menus at /admin/. In the Sanity edition, edit the Menus document for each language in the Studio.
Header Menu
The header menu is the headerPrimary list. An item can be a plain link, a dropdown with nested levels, or a mega menu:
{ "headerPrimary": [ { "enable": true, "name": "Contact", "weight": 1, "url": "/contact/" } ]}For all the fields, examples of dropdowns and mega menus, and keyboard support, see Navigation.
Footer Menus
The same file holds the footer menus. Their names vary by theme, so open your theme’s menu file to see them. Each is a list of items with enable, name, and url.
Change the menu file of every language when you add or remove a link.