change size of quantity input

Support Area Forums Elite change size of quantity input

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://vinarstvivalka.cz
  • Author
    Posts
  • #27699
    Avatar photoVojtech Válka
    Participant

    Everything is in the picture. I just want to change height of one element.

    Thank you for help.

    #27702
    Bill Robbins
    Moderator

    Good Afternoon,

    That can be changed. With the last major update to WooCommerce, the quantity input lost its +/- buttons in favor of a native number input. Here’s how to change its height:

    1. Go to your theme options page and choose the Advanced tab.
    2. Scroll down to the Custom CSS box and add this:
      
      input.qty {
      	position: relative;
      	top: -2px;
      	padding: 10px 9px 9px;
      }
      
    3. Update your settings.

    If you have trouble, let me know.

    Take care,
    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘change size of quantity input’ is closed to new replies.