Support » Plugin: Quantities and Units for WooCommerce » Good solution for decimal values / fractional values

  • Worked well for me with decimal values. Only improvement would be to resize the WC quantity field (increase width) to handle display of decimal values.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The CSS to increase the with of the input field is

    .woocommerce .quantity input.qty {min-width: 80px;}

    This gets applied to all WooCommerce input fields on the page where the CSS is applied.

    Plugin Author Nick Verwymeren

    (@greatwitenorth)

    Thanks for the feedback. I’ll add this to the next update.

    Plugin Author Nick Verwymeren

    (@greatwitenorth)

    1.0.6 has an update with the css. I set the max width to 50px since it didn’t look right in some themes to be 80px wide. So if you need any wider you can manually override in your theme’s css file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Good solution for decimal values / fractional values’ is closed to new replies.