Tutorial: Creating a drop-down menu link
You can create and use drop-down menus, or nested menus, to enhance the use of your Developer Portal .
Before you begin
You must have a Developer Portal enabled, and you must have administrator access to complete this tutorial. The tutorial Creating the Portal explains how to enable the portal if you have not already done so.About this tutorial
In this tutorial, you create a drop-down menu link on the Main navigation
menu.
Note:
Although drop-down menu links can be created in the Developer Portal, the
drop-down menu doesn't expand by default. To make the drop-down menu expand, you need to use the
Superfish
module.
This tutorial takes you through the following steps:
The front page Main navigation
displays like this before the changes are made.
Make the drop-down menu expand by using the Superfish module
To make the drop-down menu expand when you hover over it, you need to use the
Superfish
module and configure the Block Layout
.
- Click .
- In the
Filter
field, enter superfish and select theSuperfish
checkbox. - Click Enable to enable the module.
- Navigate to .
- Under Block, find
Main menu
, click the arrow icon beside Configure, and select Disable. - Click Place block for Navigation and search for main
navigation in the box. The filtered results might show two or more options. Click
Place block for the
Main navigation
with the CategorySuperfish
. - Clear the
Display title
checkbox and click Save block. - Drag
Main navigation
to be underSite branding
. - Click Save blocks to save the changes.
- Navigate to the home page. The
APIs
menu link that you added into the main navigation menu does now expand when you hover over it.
What you did in this tutorial
You created a drop-down menu link on the Main navigation
menu.
What to do next
You can consider any other uses of the drop-down menu to enhance your users experience on your Developer Portal.