Title: Input before label
Last modified: August 31, 2016

---

# Input before label

 *  Resolved [woober](https://wordpress.org/support/users/woober/)
 * (@woober)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/input-before-label/)
 * Hi
 * Can you change this html, so its more easy to style the label when checked?
    
   At the moment its like:
 *     ```
       <label>
          <input>
          yes accept text
       </label>
       ```
   
 * Would be great if it was like this:
 *     ```
       <input name="mailpoet_subscribe">
       <label for="mailpoet_subscribe">yes accept text</label>
       ```
   
 * [https://wordpress.org/plugins/mailpoet-woocommerce-add-on/](https://wordpress.org/plugins/mailpoet-woocommerce-add-on/)

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

 *  Plugin Author [Sébastien Dumont](https://wordpress.org/support/users/sebd86/)
 * (@sebd86)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/input-before-label/#post-7164579)
 * This is related to how WooCommerce displays their fields in the checkout.
 * As this is a WooCommerce extension, it uses [woocommerce_form_field](https://github.com/seb86/MailPoet-WooCommerce-Add-on/blob/master/includes/mailpoet-woocommerce-core-functions.php#L96)
   function in order to be compatible with the rest of the checkout fields.
 * Try applying CSS using this class **mailpoet-checkout-class**
 *  Thread Starter [woober](https://wordpress.org/support/users/woober/)
 * (@woober)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/input-before-label/#post-7164584)
 * Thanks 🙂
 *  Plugin Author [Sébastien Dumont](https://wordpress.org/support/users/sebd86/)
 * (@sebd86)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/input-before-label/#post-7164588)
 * Your welcome.

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

The topic ‘Input before label’ is closed to new replies.

 * ![](https://ps.w.org/mailpoet-woocommerce-add-on/assets/icon-256x256.png?rev=
   1320345)
 * [MailPoet Checkout Subscription for WooCommerce (Legacy)](https://wordpress.org/plugins/mailpoet-woocommerce-add-on/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailpoet-woocommerce-add-on/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailpoet-woocommerce-add-on/)
 * [Active Topics](https://wordpress.org/support/plugin/mailpoet-woocommerce-add-on/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailpoet-woocommerce-add-on/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailpoet-woocommerce-add-on/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Sébastien Dumont](https://wordpress.org/support/users/sebd86/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/input-before-label/#post-7164588)
 * Status: resolved