In Joomla, the menu does more than list links. Each menu item decides which page shows, what its URL is and which modules appear on it. Once you see that, most of a site's structure falls into place.
How a menu item works
A menu item has a type, such as Single Article or Category Blog. That type decides what the page shows. Its alias becomes part of the URL. Its tabs set the page's title, description and layout.
Setting up a menu
- Go to Menus, then Manage, and select New to create a menu.
- Add items to it, choosing a menu item type for each one.
- To show it, create a menu module at Content, then Site Modules, and put it in a position. The Menus list also offers a shortcut to add a module.
A menu doesn't have to appear anywhere. A hidden menu with no module is a handy way to give pages clean URLs without listing them.
Modules follow menu items
On a module's Menu Assignment tab you choose the pages it appears on: all pages, or only some menu items. That's how a landing page can have a different sidebar from your blog. A page with no menu item of its own takes its modules from the closest match, which is one reason to give important pages their own menu item.
Useful menu item types
- Menu Item Alias: shows the same page in a second menu without making a second URL.
- URL: links anywhere, including another site.
- Menu Heading: groups a dropdown without being a page.
- Separator: a divider in a list.
Plan for search and for people
- Keep menus shallow. Two levels are enough for most sites.
- Use short, clear aliases, because they become your URLs.
- If you move a page, add a redirect at System, then Redirects.
- Check your dropdowns on a phone, where there's no hover.
Mega menus in our templates
When a site outgrows a simple dropdown, a mega menu can show several columns of links. Many of our templates have this built in. It's set up with regular Joomla modules, so there's nothing else to install. Try it in the demo of Xeno or Trento, both built for Joomla 6, and read the template's documentation for the steps.