Navigation
Organize the main links readers use to move around your site. Primary navigation controls the header menu, while Secondary navigation is used for footer links and supporting destinations.
Step-by-Step- Go to the 'Navigation' settings in the Ghost Admin.
- Add, remove, and reorder navigation items as needed. Use the trash icon to remove an item, type into an empty row to add a new one, and drag items from the left icon to change their order. In Secondary navigation, footer columns are created automatically after several items.
- After adding your items, click 'OK' to update the navigation on your site.
- Open
../partials/navigation.hbsin your code editor. - At the top, open the 'Header navigation' section.
- Replace the current
to="3"andfrom="4"values, for example withto="4"andfrom="5". - Save
navigation.hbsin the../partials/folder.
- Open
../locales/en.jsonin your code editor. - Add your custom column labels, for example:
{
"Column 1": "About",
"Column 2": "Features",
"Column 3": "Support",
...
}
- Save
en.jsonin the../locales/folder.
- Open
../partials/navigation.hbsin your code editor. - In the middle of the page, open the 'Footer navigation' section.
- Footer columns use
limitandfromparameters. For example, use this structure to show four items in each column:
{{#foreach navigation limit="4"}}
...
{{#foreach navigation limit="4" from="5"}}
...
{{#foreach navigation from="9"}}
...
You can also use a different number of items for one column. For example, to show six items in the second column:
{{#foreach navigation limit="5"}}
...
{{#foreach navigation limit="6" from="6"}}
...
{{#foreach navigation from="12"}}
...
- Save
navigation.hbsin the../partials/folder.
Type at least 2 characters to search