Hi All,
I have the following code in Impulse theme within toolbar.liquid where I have toolbar_menu items and based on click I want to attach an active class. I have been trying to use link.current property to keep track but no class gets added upon inspection. Below is the code snippet within toolbar.liquid:
{% if section.settings.toolbar_menu != blank %}
{% for link in toolbar_menu.links %}
- {{ link.title }}
{% endfor %}
{% endif %}
Even though I click on the navigation items and the page opens, I dont see getting any class added.