I am trying to change a menu based on page tags on the Refresh Theme.
I am working in the Header.liquid and after trying three different ways I figured I am stuck so I will pose the question here.
Site: https://goldmedalwine.myshopify.com/
Password:3m3rt%3
Here is code change trying to just force all to one menu before I rewrap it in a if{% assign menu = ‘wsmenu’ %}
{% assign section.settings.menu= ‘wsmenu’%}
Menu: {{ section.settings.menu }}
{% assign menu_handle = ‘wsmenu’ %}
This is just above the Nav div and I have tried it below and when it displays it is always the main menu
Here is the code from the header at line 395
{%- if section.settings.menu != blank -%}
{%- if section.settings.menu_type_desktop == ‘dropdown’ -%}
-
{%- for link in section.settings.menu.links -%}
-
{%- if link.links != blank -%}
So all in all any help or directions would be awesome