Skip to content

Overriding templates

Ola Frankowska edited this page Aug 8, 2023 · 2 revisions

After installing the module via composer module templates are located in vendor/snowdog/module-menu/view/frontend/templates.

Menu is built with the following templates:

  • menu.phtml: the main template that renders the full menu using other templates.
  • menu/sub_menu.phtml: renders nodes that are located inside another node.
  • node_type/{node_type_name}.phtml: renders a single node. Each node type has a separate template.

You can override any template by placing it in your theme in Snowdog_Menu directory.