Shopify Question

Out of context: Reply #8

  • Started
  • Last post
  • 13 Responses
  • hotroddy0

    {% unless template == 'index' or template == 'cart' %}
    <nav id="category-menu" class="clearfix">
    <ul>
    {% for link in linklists.static-menu.links %}
    <li class="{% if forloop.first %}first{% elsif forloop.last %}last{%endif%}">
    <a href="{{ link.url }}" {% if collection.handle == link.handle or product.type == link.handle %} class="active" {% endif %}>{{ link.title }}</a>
    </li>
    {% endfor %}
    </ul>
    </nav>
    {% endunless %}

    • how do I work that into mine? check out the jsfiddledbloc

View thread