Moodle 2 Theme Engine

Setting up a Custom Menu

AutoTheme enables you to customize the Moodle 2 drop down menu, to control where it shows up and what the height is (in addition to the color settings we have already determined).

First, we'll have to add some links to the the custom menu before we can use it.

To add links, go to the the theme settings for your site.
Theme settings
At the theme settings, scroll down to the Custom Menu items:
Custom Menu Items

Here you can enter menu items that will be displayed in the top bar of you site. Enter the item name, then a 'pipe' character - | then the URL, as above. This will create a new tab item in the top bar.

If you want to have sub-items, that will automatically appear in a drop down below the top level item above, enter them as follows:


Add the items with the name of the item, a pipe, and a url as above, but type a dash (-) in front of their names.

sub-sub items

Follow the same pattern to create sub-sub items with two dashes.

second top level item

Add a second top level item by inputting it without a dash.

Now save changes can go back to the RL Master theme.
Setting the custom menu

By default the Custom Menu is not shown, now that you have added links to it, is a good time to show it - you can choose to show it on all pages or just on the front page.
  1. Set the custom menu to show on All pages, the Front page only, or on None.
  2. Set the height of the custom menu.
  3. Save changes
Now you can see the custom menu in place.

Custom menu display

In the Custom Tab documentation, we'll talk about how to further control/customize the look of the drop down menus.