How to Change Menu Systems in Ashlar 6
In Ashlar 6, there are two options for how the main navigation is displayed.
With the default option, the navigation operates in the same way as previous versions of Ashlar. On small screens and touch screens, the menu is hidden behind a menu toggle (sometimes called a "hamburger"). But on larger/desktop non-touch displays, the menu is displayed as part of the header.
We also have a Hamburger always on option, that allows you to tuck the menu behind the toggle even on desktop views. This creates a very clean look, opens up space at the top of the page, while simultaneously allowing for larger menu systems.
The steps to toggle back and forth between the two menu systems are very easy, and you can change between the two at any time. To change this option:
- Go to Appearance > Settings > Ashlar
- Find the "Always Use Menu Toggle" setting and check it
- Save the configuration
And that's it! Refresh your page and your menu system will be changed.
What about sites with multiple departments/menus
The above steps will configure the menu for all menus across any given domain. Some domains are home to multiple department or unit websites, so site.wwu.edu/department-a may have a different menu than site.wwu.edu/department-b, and each has a different preference for how that menu is displayed.
In order to achieve this, the departments must be set up to use a taxonomy term in order to sort content into respective departments. What this typically looks like is a Department field on basic pages and other content types. If you are not sure that this is how your site is set up, or you need assistance with this step, contact web.help@wwu.edu and reference this tutorial.
If the site is set up this way, go to Appearance > Settings > Ashlar and make sure the "Always Use Menu Toggle" setting is turned Off. This needs to be the default setting, and the hamburger can then be enabled for individual departments.
Check if there is already a menu setting on the taxonomy term. Find the Department taxonomy type (or whatever the taxonomy you use for sorting content) under Structure > Taxonomy then click on any of the terms. If there is a "Always Use Menu Toggle" checkbox at the bottom of the page, then all you need to do is check this option for the department(s) wishing to have the hamburger enabled on desktops and you're done.
If this option is not present, follow these steps to add it:
- Go to Structure > Taxonomy > Department (or whatever the taxonomy you use for sorting content) > Manage Fields
- Click Create a field, select Boolean and click Continue.
- Make the Label of this field "Always use menu toggle" (this label is flexible)
- Before continuing, edit the Machine name to be field_menu_settings (this must be exact)
- Then click Continue
- On the next screen, keep the default settings and click Save settings