Hi,
You can check for the 'k_paginated_bottom' that gets set for the last element in the loop.
The revised code now becomes -
Code:
<cms:pages masterpage='gig_list.php'>
<div class="gig_list_box <cms:if k_paginated_bottom>last</cms:if>">
....
</div>
</cms:pages>
This aside, in the 'pages' loop you are using, I think you'll also want to set a 'limit' for the items being shown. Else if the number of gigs, for example, goes up to 1000, all the 1000 will get shown.
Showing only a handful of items at each go also requires you to place the paginatator (the 'next' 'prev' buttons).
You can find more info about it at
http://www.couchcms.com/docs/concepts/l ... pages.htmlhttp://www.couchcms.com/docs/concepts/pagination.htmlLet me know if need any help.