Sidebar Menus
Last updated
Last updated
Sidebar menus show up on the right side of the page, beside the main body content. They can be easily customized to display a portion of the main menu on all pages, or a few select pages.
There are two main methods for creating sidebar menus: Panels and Blocks. Panels are recommended for sidebar menus that show up on all pages, but if you would like your sidebar menu to appear on only a small number of pages, go with Blocks.
Note: You should have some menu links created before placing panels or blocks. For help with creating menus, see the Managing Menus page.
On the page you would like to add a sidebar menu to, select Customize this page
at the bottom of your screen. Keep in mind that changes made here will affect all pages in the content type. For example, if you are adding a sidebar menu to a news item, the menu will show up on all news items.
Scroll down to the Right side region, and select the plus sign.
In the add content menu, select Menus
from the side menu. Then select menu tree of the menu selected by the page
.
In the configuration dialog, the "Starting level" drop-down controls how much of the main menu appears on the page. Starting from the secondary level is recommended, because it means that the portion of the main menu most relevant to the page will show up in the sidebar. Starting from the primary level means that the whole main menu will show up in the sidebar.
Select Finish
. Try selecting Finish
again if an error message appears.
When the configuration dialog closes, make sure to select Save
at the bottom of the page.
From the administration bar, navigate to Structure
> Blocks
.
At the top of the page, select Add menu block
.
Enter a title for the menu block if it should be different from the default title, determined by the menu. Enter <none>
to display no title.
From the Menu dropdown, select either "Main menu" to display the whole menu in the sidebar, or <the menu selected by the page>
to only display the portion of the main menu relevant to the page.
Select the starting level for the menu.
Under Visibility settings, specify the pages that the menu block should be displayed on, if desired. Specify pages using the internal path rather than the full URL.
Select Save block
.
From the administration bar, navigate to Structure
> Blocks
.
Find the menu block you just created in the list of blocks, under "Disabled."
Drag your block from "Disabled" to "Secondary."
Scroll to the bottom of the page and select Save blocks
.