Skip Navigation

[Résolu] Add a class for first item displayed

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 réponse, has 1 voix.

Last updated by Daniel Il y a 8 années et 1 mois.


I'd like to add a class to the first item of an unordered list. Do I have to create 2 views, with one view showing the list set to skip the first item. The other view exactly the same but without skipping the first item. And now displayed in the template via

[types field="all-item-list" index="1"][/types]
[types field="item-list-skip-first"][/types]