News:

Support the VirtueMart project and become a member

Main Menu

How to increase the size of the "Quantity field Box"

Started by John2400, October 10, 2012, 23:06:30 PM

Previous topic - Next topic

John2400

Hi ,

My favourite annoying piece of templating is trying to get the quantity box bigger.

Please don't recommend firebug - this does not help me.

You have to be exact in where this is to be found -

[attachment cleanup by admin]

bytelord

Hey John,

Override the following onto your custom CSS (originals located in vmsite-ltr.css line 39 & line 40):

span.quantity-box {
    float: left;
    padding-top: 0;
    width: auto;
}

input.quantity-input {
    height: auto;
    padding: 8px;
    text-align: center;
    width: 27px;
}

If you need larger numbers play with width, if you want the height smaller play in the first with padding-top and on the second with padding.

Results attached

Do it firebug only so i override some attributes to be sure that the result will be same.

Best Regards

[attachment cleanup by admin]
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!