Menus

Any Menu widgets in your templates must be configured to use the AMP view by setting View on the General tab to AMP. The menu will then be rendered in an amp-sidebar element which is the appropriate container for navigation elements on an AMP page.

The AMP specification requires amp-sidebar to be a direct child of the HTML body element (see amp-sidebar). For this reason the following restrictions apply when using Menu widgets with AMP:

  • The widget must be placed in a template's outer area

  • The outer area's HTML tag option must be set to no wrapper