Search code examples
csswordpresswoocommercedivi

Woocommerce add to cart settings quantity not showing above 9


I have a web site https://westalabamabeecompany.com/ - when I add more than 9 items in the quantity box you can only see one digit - for example, it I have a quantity of 20, you can only see the 2 - not 20. I am using Divi from Elegant Themes and when I edit the Woocommerce Add to Cart Settings, I have tried to edit the margins and padding to no avail. I need to know how to edit the quantity field so you could see 3 or 4 digits. Thank you.


Solution

  • I think it's because your CSS in the quantity class. Your width is 4.3em. Just Change it to 5em.

    .woocommerce .quantity input.qty {
      width: 5em;
    }
    

    This is how it looks before

    enter image description here

    This is how it looks now.

    enter image description here