Are you looking for the latest documentation?

Documentation for Acquia Cohesion V6.0 onwards has moved to https://cohesiondocs.acquia.com

    Adding a menu to your master template

    You can add menus to your Master template using the Menu element. The Menu element allows you to select a Drupal menu and select a Menu template. For more information on creating Menus and Menu templates see Creating menus and menu templates.

    Add a menu to your master template

    To add a menu:

    1. Navigate to DX8 > Templates > Master templates
    2. Click Edit next to your Master template
    3. Click on the +button on the Layout canvas
    4. Within the Sidebar browser, locate the Menu element within Drupal core elements
    5. Drag the Menu element onto your Layout canvas

      Add-menu-to-master-template.png
       
    6. Double click on the Menu element to edit its settings
    7. Click on the Menu drop-down field select your menu. For more information, see Creating menus
    8. If you only want the menu to display the active trail, toggle on Only render active trail. 
    9. If you want the menu to start at a specific level of your Drupal menu, enter a number in the Start at level x in active trail. Leave blank (or 1) for level 1, enter 2 for level 2 etc
    10. Click on the Template drop-down field and select your Menu template. For more information, see Creating menu templates
    11. Click Apply and then Save and continue.
      Configure-menu.png
    DX8 knowledge base icon

    Frequently asked questions

    Get instant answers to common questions. Available online 24/7.

    Find answers

    Raise a ticket icon

    Raise a support ticket

    To raise a ticket, sign into Acquia Cloud and select Help in the top menu.

    Raise support ticket

    Acquia

    Copyright © 2020 Acquia, Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.