I want to add a class in the field label and field items, the HTML I want is the following:
<div class="field field-name-field-price field-type-number-integer field-label-above row"> <div class="field-label col-md-2">Price: </div> <div class="field-items col-md-2"><div class="field-item even">100</div></div> </div>
I've tried field_formatter_class, the module allow me to add a "row" class into the container, but not in field-label and field-items. I want to add col-md-2 class for such two divs
How to do that without writing a module to do that?