The Quickstart Select Menu Block (az_select_menu
) module allows you to display a menu as a dropdown selection as seen in the header area on arizona.edu. This feature is also known as the "persona menu" or "I am a menu" or "dropdown select".
Roles required
You will need to enable the Quickstart Select Menu Block module which requires an Administrator role. This module is included with Quickstart, but disabled by default.
How to Enable the Module
- Navigate to Extend
- Check the box next to the Quickstart Select Menu Block module
- Click Install
How to Setup the Select Menu
- Install the Quickstart Select Menu Block module
- Create a new menu
- Navigate to Structure > Menus
- Click Add menus
- Provide a Title (this is not displayed to site visitors)
- Add links to your menu
- Save the menu
- Add the select menu block to your desired region
- Navigate to Structure > Block layout
- Click Place block next to your desired region (Header 2 is most common for this feature)
- Select your new menu in the "Quickstart select menu block" category
- Uncheck "Display title"
- Configure "Quickstart select menu options" dropdown
- Configure other block options as desired (commonly CSS Class(es) field when the "Block Class" module is enabled)
- Save Block
How to Modify the Select Menu
- Navigate to your block via Structure > Block layout
- Click Configure next to your new menu block
- Uncheck the Display title checkbox
- Expand the Quickstart select menu options section
- Include an empty option: Allow for the default selection to be nothing
- Text to display inline before the select form: Text before the dropdown feature
- Form help for screen-readers: What screen readers will say aloud to describe what do to with the menu options
- Text you would like to appear in the button
- Text to help screen-reader users understand what to do: What screen readers will say aloud to describe what the button does
- CSS class(es): Classes that get applied around the entire block. Common examples are below.
- col col-md-6 col-lg-4
- col col-lg-6
Keywords: menu, dropdown, I am, I am a, persona, select