• courtneytomiko

    (@courtneytomiko)


    I am having trouble getting the quantity box inline with the add to button

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wooassist

    (@wooassist)

    Hi @courtneytomiko,

    you just have to style the input field

    .woocommerce .quantity input.qty, .woocommerce-page .quantity input.qty {
    display: block;
    margin: auto;
    }

    just add this two attributes to your existing CSS code

    Hi there, I’m having some issues with this too. I’ve tried adding those attributes but there seems make no effect. Besides the box extends outside the add to cart button. Is there a way to solve this? I’ll leave a link with the screenshot of what I am refering to and the link to our site.

    Cheers

    http://test.ngldesign.ml/wp-content/uploads/2018/05/Captura.jpg
    test.ngldesign.ml

    enter this code in the style.css file of the plugin:

    .woocommerce-product .quantity input.qty {
    display: block;
    margin-top: 16px;
    }

    .woocommerce .quantity input.qty {
    display: block;
    margin-top: auto;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Quantity box isn’t inline’ is closed to new replies.