Navigation
Manage Reiro’s header and footer navigation from Ghost Admin, including the main header links, the dots menu that appears after the visible header items, and the automatically grouped footer columns. More advanced limits and custom column labels require small theme-file edits.
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, to change the number of items to 5 for each column:
{{#foreach navigation limit="5"}}
...
{{#foreach navigation limit="5" from="6"}}
...
{{#foreach navigation limit="5" from="11"}}
...
{{#foreach navigation limit="5" from="16"}}
...
{{#foreach navigation from="21"}}
...
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 limit="5" from="12"}}
...
{{#foreach navigation limit="5" from="17"}}
...
{{#foreach navigation from="22"}}
...
- Save
navigation.hbsin the../partials/folder.
Type at least 2 characters to search