WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » [Resolved] [Plugin: WooCommerce – excelling eCommerce] Checkout Field Size

[Resolved] [Plugin: WooCommerce – excelling eCommerce] Checkout Field Size

  • Hi everyone,
    How can I make the fields on the checkout page larger? I figured out how to make the address fields larger, but I am not sure how to make the other ones larger.

    add_filter('woocommerce_billing_fields', 'custom_woocommerce_billing_fields');
    
    function custom_woocommerce_billing_fields( $fields ) {
    
         $fields['billing_address_1']['class'] = array( 'form-row-wide' );
         $fields['billing_address_2']['class'] = array( 'form-row-wide' );
         $fields['first_name']['class'] = array( 'form-row-wide' );
    
         return $fields;
    }

    Thanks,
    Munny1

    http://wordpress.org/extend/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • Never mind I figured it out. I just added billing_ to all the field names and added the filters.
    Example:

    billing_first_name
    billing_last_name
    billing_email

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: WooCommerce – excelling eCommerce] Checkout Field Size’ is closed to new replies.
Skip to toolbar