Okay
  Public Ticket #187252
Woocommerce - Product quantity
Closed

Comments

  • Sharon started the conversation

    After updating Woocommerce yesterday I noticed that product quantity boxes weren't displaying numbers with 2 digits or more correctly. Only 1 number and a part of the second number show.

    File attached - the example should show 100 in the product quantity box but as you can see it only shows the number 1 and half of one 0.

    Thanks in advance.

    Sharon

  • Sharon replied

    Here are screenshots of the Salient demo store. Again the full number is not showing - it should be 22.

    Thanks.

  •  8,838
    Tahir replied

    Hey Sharon!

    Add this into the Custom CSS box located in your Salient Options panel:

    .woocommerce .cart .quantity input.qty {
        width: 45px !important;
    }
    

    Cheers


    ThemeNectar Support Team 

  • Sharon replied

    Hi Tahir

    Added the code but it didn't work. (Tried it in the Custom CSS box first and then in the child theme stylesheet.) The Salient demo theme still shows this problem - did you try it on that? 

    When you hover over the quantity box there is an up and down arrow device which really doesn't need to be there. Could that be part of the problem? Can we remove that?

    Thanks in advance.

  • Sharon replied

    Just another point. The quantity box on single product pages also have the same issue. Thanks

  • Sharon replied

    I tried the code again today and it worked!

    Very strange. But problem solved.

    Thanks for the help.