Answer the question
In order to leave comments, you need to log in
How to add CSS class for first thumbnail in Gallery Modx?
We need to add a css class for the first thumbnail in the output. For example, getresources can have a separate template for each n-resource. Wayfinder also has similar functionality. Question: how to add css class to first thumbnail using gallery.
Gallery call:
<article class="one_quarter">
<a href="" class="fancybox" rel="external">
<div class="push10"><img src="" alt="" title="" /></div>
<p></p>
</a>
</article>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question