All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

adding class to first element in the list

RobPost 3 Sep 2012 08:31 question, complete

Hi Low,

Just installed another wonderful product of you: Low Reorder.

One simple question though: Is there a tag available to easily identify the first element in a unordered list? Would use this tag to add a class="selected" to the first element in the list.

Replies

  1. Low 3 Sep 2012 08:33

    Hi Rob,

    Will this not help you?

    {if count == 1} classname {/if}

  2. RobPost 3 Sep 2012 08:37

    Brilliantly simple. Works!