- This topic has 3 replies, 2 voices, and was last updated 12 years, 10 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Size of the quantity field
Tagged: quantity field
I was hoping to increase the size of the quantity field for my products, as it currently only shows two digits and I need three.
Is this controlled by the theme and is it possible to change the attributes of a single field (or all fields related to my product quantities.
You can add a “min-width” property to your text fields and specify the minimum width. For example you have the following CSS in your theme:
.custom .format_text input {
width: auto;
}
Changing the above code to the following should do the job:
.custom .format_text input {
width: auto;
min-width: 30px;
}
Alternatively, you can modify the code of the input fields to have a size of 3 or above.
Nice! Works perfectly thank you.