Is it possible to theme the Field Collection widget for just one field? The example I am looking for is a list of text fields. I need some of the text fields to be in two columns instead of one long column, which is the default. I also need to add some formatting guide text for some of the fields. I know I can achieve some of this through CSS, but was curious if there is a hook or something that I could implement that would allow me to change the markup as well? This is in Drupal 7 as well.


1 Answer 1


Yes it's possible.

You need to go to the Field Collection module directory and copy field-collection-item.tpl.php. Then paste it into your theme directory and rename it to field-collection-item--myfieldname.tpl.php.

  • 1
    Then clear the caches :)
    – Clive
    Jul 29, 2013 at 14:58
  • 1
    This is great for styling the output of the field, thank you! I realize now I should have been more clear. I was looking to style the entry form for the field collection. Is this possible? As in when they are on node/edit/# can I change the form that is displayed for a field collection field? Thank you again though as your tip was still useful to me!
    – 2bsharpdev
    Jul 29, 2013 at 15:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.