{# Responsive Menu Jinja template file. Safe to Copy #} {% import 'admin/macros.html.twig' as macros %}
Click to upgrade now to use
{% set desktop_menu_options = options.desktop_menu_options|json_decode %} {% set menu_items = menu_items(options) %}
{% for item in menu_items %} {% set has_title = false %}
#{{ item.ID }} {{ item.title }}
{% if item.menu_item_parent == 0 %}
Set the type of menu for this sub menu section.
{% endif %}
Our Desktop Menu uses a 12 item width grid. You can specify the width of each item here as a fraction of 12, or keep them auto sized.
{% if item.menu_item_parent == 0 %}
Sets the background colour for the mega menu container section.
Sets the background image for the mega menu container section.
{% endif %} {% if item.menu_item_parent != '0' %}
Drag the widgets and re-arrange them below.
{% if desktop_menu_options[item.ID]['widgets'] %} {% set count = 0 %} {% for widget in desktop_menu_options[item.ID]['widgets'] %} {% for type, value in widget %} {% set count = count + 1 %} {% if type == 'image' %}
Image
{% elseif type == 'text' %}
Text
{% elseif type == 'title' %} {% set has_title = true %}
Title {{ item.title }}
{% endif %} {% endfor %} {% endfor %} {% endif %} {% if not has_title %}
Title {{ item.title }}
{% endif %}
Image
Text
{% endif %}
{% endfor %}