We are setting up a new site and would like to make the top-level nav bar clickable even when there is a drop-down on hover, to my understanding this isn’t possible natively. Does anyone know which part of the header.liquid file we need to edit to make this happen.
My guess is that is somewhere in here:
{%- if section.settings.menu != blank -%}-
{%- for link in section.settings.menu.links -%}
- {%liquid for block in section.blocks assign menu_trigger = block.settings.menu_trigger | handle | strip if link.links != blank or block.type == "mega_menu_only_collection" and block.settings.collection_list != blank and link.handle == menu_trigger if link.handle == menu_trigger render 'header-mega-menu' links: link.links, block: block , link: link break elsif forloop.last render 'header-submenu' links: link.links , link: link endif elsif forloop.last render 'header-link' link: link endif else if link.links != blank render 'header-submenu' links: link.links, link: link else render 'header-link' link: link endif endfor %} {%- endfor -%}