Title: CSS Class to the fields
Last modified: May 3, 2022

---

# CSS Class to the fields

 *  Resolved [marcus182](https://wordpress.org/support/users/marcus182/)
 * (@marcus182)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/css-class-to-the-fields/)
 * Hi, is there a way to add css classes to the fields? For example:
 * I’m building a store that in some checkboxes I want to add a class called “TOP”
   or “BODY” in order to make some interactions using JavaScript on the front-end.
   So it would be very helpfull if there is a way to add those classes to some specific
   fields.
 * I already bought the premum plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [marcus182](https://wordpress.org/support/users/marcus182/)
 * (@marcus182)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/css-class-to-the-fields/#post-15612297)
 * Ignore this, published in wrong forum.
 *  [Margaret S. woo-hc](https://wordpress.org/support/users/margaretwporg/)
 * (@margaretwporg)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/css-class-to-the-fields/#post-15612338)
 * Thanks for letting us know.
 * Feel free to create a new topic if you have any questions related to core WooCommerce.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘CSS Class to the fields’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Margaret S. woo-hc](https://wordpress.org/support/users/margaretwporg/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/css-class-to-the-fields/#post-15612338)
 * Status: resolved