Page 1 of 1

I need to change the size of the product quantity input box

PostPosted: Thu Mar 22, 2012 6:27 am
by design@.....au
I am using icetheme_css2 and I need to reduce the size (length) of the product quantity input box. It refers to the main template.css file, however, I don't want all the other input boxes to be reduced in size, just the product quantity input box on the checkout page. Where do I go to change this setting for this theme?

Re: I need to change the size of the product quantity input box

PostPosted: Thu Mar 22, 2012 7:02 am
by design@.....au
I'm new to this, and I hope someone will educate me if I'm wrong with my approach, but what I did is this:

I added this to the /components/com_virtuemart/themes/default/templates/onepage/icetheme_css2/onepage.css

Code: Select all
div#basket_container div.op_basket_row div.op_col6 .inputbox {
width: 75px;
}


It has achieved the result I wanted, with the product quantity box being 75px, and all the other input boxes remaining at 350px as per my main template.css file.

I'm happy that it's worked and done what I wanted, but as I said I am inexperienced at this so happy for other users to let me know if there is a better way to achieve this result.

Re: I need to change the size of the product quantity input box

PostPosted: Fri Mar 23, 2012 4:36 pm
by admin
Hello, i strongly recommend to rename the template after your modification to something like this:
/components/com_virtuemart/themes/default/templates/onepage/icetheme_custom

so it does not get overwritten on OPC update.

Best Regards,
Stan