Title: Class on custom fields
Last modified: June 7, 2017

---

# Class on custom fields

 *  [mikeallteams](https://wordpress.org/support/users/mikeallteams/)
 * (@mikeallteams)
 * [9 years ago](https://wordpress.org/support/topic/class-on-custom-fields/)
 * Hi there, would it be possible to add a class to custom fields?
 * So in this example
 *     ```
       <div class="ufaq-custom-field-label">Cost: </div>
       <div class="ufaq-custom-field-value">&nbsp;500</div>
       ```
   
 * have something like
 *     ```
       <div class="ufaq-custom-cost-group">
       <div class="ufaq-custom-field-label ufaq-custom-cost-label">Cost: </div>
       <div class="ufaq-custom-field-value ufaq-custom-cost-value">&nbsp;500</div>
       </div>
       ```
   
 * Cheers
    -  This topic was modified 9 years ago by [mikeallteams](https://wordpress.org/support/users/mikeallteams/).
      Reason: mistake in code

Viewing 1 replies (of 1 total)

 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [9 years ago](https://wordpress.org/support/topic/class-on-custom-fields/#post-9209385)
 * Hi Mike,
 * Unfortunately, there’s currently no functionality that would allow for something
   like this. The only way to do it would be to modify the plugin code directly.
 * We can note this down as a feature suggestion and look into the possibility of
   wrapping each custom field label and value in another div in a future update.

Viewing 1 replies (of 1 total)

The topic ‘Class on custom fields’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-faqs/assets/icon-128x128.png?rev=1803957)
 * [Ultimate FAQ Accordion Plugin](https://wordpress.org/plugins/ultimate-faqs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-faqs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-faqs/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-faqs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-faqs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-faqs/reviews/)

## Tags

 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)

 * 1 reply
 * 2 participants
 * Last reply from: [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/class-on-custom-fields/#post-9209385)
 * Status: not a support question