Can someone please point me in the right direction, I am trying to get a 'Qty' input box attached to the left side of my 'Add To Cart' button, by using the "input-group" class.
The input box part seems to resize as screen size changes, and the button stays the same width, but at certain screen sizes the input box is so narrow you cant actually see the number in it.
This is how I am doing it at the moment:
<div class="col-xs-4 text-right"> <div class="input-group"> <?php echo tep_draw_input_field('cart_quantity', '1', 'maxlength="2"');?> <span class="input-group-btn"> <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_draw_button(IMAGE_BUTTON_IN_CART, 'fa fa-shopping-cart', null, 'primary', null, 'btn-success'); ?> </span> </div><!-- /input-group --> </div><!-- /col-xs-4 text-right -->
Any help greatly appreciated, thanks in advance.