Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How do I make a Text Attribute input box smaller?

How do I make a Text Attribute input box smaller?

Views: 796

Results 1 to 4 of 4
7 Mar 2012, 7:15 PM
#1
dandandanpie avatar

dandandanpie

New Zenner

Join Date:
Oct 2011
Posts:
15
Plugin Contributions:
0

How do I make a Text Attribute input box smaller?

I cant seem to change the length of this. All I want is a box around the size big enough to fit just 2 or 3 numbers in it.

I have identified the code:

<input type="text" name="id[txt_35]" size="32" maxlength="32" value="" id="attrib-35-0" />

If i change the CSS it will still stay the same since the maxlength code will still be 32. (I think!)

I cant seem to see where to change the default "32" size. Can anyone help?

7 Mar 2012, 7:18 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How do I make a Text Attribute input box smaller?

Go to the Catalog ... Option Name Manager and edit the Option Name and change the

Display Size:

7 Mar 2012, 7:20 PM
#3
dandandanpie avatar

dandandanpie

New Zenner

Join Date:
Oct 2011
Posts:
15
Plugin Contributions:
0

Re: How do I make a Text Attribute input box smaller?

Thanks! Super fast reply! :D

7 Mar 2012, 7:22 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How do I make a Text Attribute input box smaller?

You are most welcome ... thanks for the update that this worked for you ... :smile: