Site navigation is a key component that allows your users/patrons to access additional content and resources on your Stacks site.
Stacks has two menu areas that can be used for this navigation, the Top Menu and Main menu. Top menu links will typically appear at the very top of the page or near the top right corner of the page. Main menu links can also appear at the top of the page or just below the primary search bar. The exact location of either menus can vary depending on the theme or header layout selected for your site.
Important! Users with the Moderator or Administrator role can add new menu links to the menus.
Adding new Menu Links
- From the Dashboard, click the Menus tile
- Under the Operations column, click List Links for either the Main Menu or Top Menu option (the following steps will be the same for both options)
- Click +Add Link
- Menu Link Title - enter the name you wish to appear in the menu
-
Link - add the URL the user/patron will be directed to when the menu link is clicked
-
Important! for internal Stacks pages, use the path (relative URL), example: /databases. For external webpages, use the full URL (absolute URL), example: https://www.website.com.
- For more information on the different URL types, see the article Working with Links
- Tip! For keyboard accessible links with child links (drop-down functionality) - enter either <button> or <nolink> in the link field for the 'Parent link,' also ensure the 'Show as expanded' (described below) is checked
-
Important! for internal Stacks pages, use the path (relative URL), example: /databases. For external webpages, use the full URL (absolute URL), example: https://www.website.com.
- Enabled, check this box to enable visibility to the link, or leave unchecked to hide it
- Language, if applicable, select the most appropriate language
-
Domain (this area only applies to multi-domain sites)
- Domain Access, select the domain(s) that will use this menu link
- Send for all affliates, when enabled will make the menu link accessible on all domains
-
Parent Link (on the right)
- <Main menu> - Select this option to add the link to the main menu
- <Top menu> - Select this option to add the link to the top menu
- Select any other link from this list to embed the new link as a "child" under the selected link (for drop-down functionality)
-
Display Settings (on the right)
-
Weight, enter a numerical value to dictate the placement of the link in the menu
-
Tip! Leave this field blank, after the link has been saved, from the list links window, click and drag the
to manually change the order of appearance
-
Tip! Leave this field blank, after the link has been saved, from the list links window, click and drag the
- Show as expanded, check this box to display all children links below the 'Parent link'
-
Weight, enter a numerical value to dictate the placement of the link in the menu
-
Description (on the right)
- Description, if applicable, add a brief description to display when hovering over the link
- Click Save to complete the addition of the new link