cancel
Showing results for 
Search instead for 
Did you mean: 

Change Quantity Input Box Size

Change Quantity Input Box Size

Hello, I'm new and having a small layout issue.

We are using Magento 1.9 CE with the RWD theme.

 

Some of our customers order items by the foot and they can be up to 10,000 feet. The problem I am having is the input fields only show about 3 characters, so you have to scroll back to see the number you entered.

 

Is there a way to change the width of the Qty input field?

 

I have checked the styles.css and the view.phtml files and I am at a loss.

 

Thanks in advance.

1 REPLY

Re: Change Quantity Input Box Size

Hi @duravox,

 

Try looking in:

rwd/default/css/styles.css

 

Find the line-numbe 2686:

/* -------------------------------------------- *
* Inputs - Quantity
*/
input[type=number].qty,
input[type=text].qty {
width: 333em;
text-align: center;
vertical-align: middle;
}

width: change to your likings.

 

Remeber to copy+paste the styles to your local folder / setup, and not edit core-files.

 

 

-- Best regards --
Kent Christiansen / @KentChrDK / Magento Certified Solution Specialist / Visit my site (DK)