<div class="mega-menu__linklist {{ linklist_class }}">
  {% assign menu = linklists[menu_link] %}
  {% if section.settings.show_menu_title != blank %}
  <p class="menu__heading">
    {% if link_setting != blank %}<a href="{{ block.settings.coll_img_url }}">{% endif %}
      {% if block.settings.custom_title != blank %}{{ block.settings.custom_title }}{% else %}{{ menu.title }}{% endif %}
    {% if link_setting != blank %}</a>{% endif %}
  </p>
  {% endif %}
  <ul>
    {% for link in menu.links %}
      <li>
        <a href="{{ link.url }}" class="mega-menu__linklist-link {% if link.active %}is-active{% endif %}">
          {{ link.title }}
        </a>
        {% comment %}
        <label class="label-megamenu" style="color: {{ block.settings.lb_clr }}">{% if link.title ==  block.settings.nm_label %}{{ block.settings.nm_label1 }}{% endif %}</label>
        {% endcomment %}
      </li>
    {% endfor %}
  </ul>
</div>