While the field items do have even odd striping they dont have deltas for the collection items order (e.g. class="field-item-1")

<div class="field-collection-container clearfix">
  <div class="field-items">
    <div class="field-item even">

Without the entity delta in css it is difficult to implement special css considerations for each element. I looked into the module but didnt see any templates to theme functions encapsulating this section.

Id be happy to roll a patch if you could point me in the right general direction.

Comments

michaelfavia’s picture

Also missing are the first and last classes that are useful for removing the css from the last item.

jmuzz’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

This isn't handled by field collections, it comes from some wrapper code that is common to all fields. You want to override theme_field() in your custom theme.

https://api.drupal.org/api/drupal/modules!field!field.module/function/th...