Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2011
    Posts
    15
    Plugin Contributions
    0

    Default 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:

    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?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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:
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Oct 2011
    Posts
    15
    Plugin Contributions
    0

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

    Thanks! Super fast reply!

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

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

    You are most welcome ... thanks for the update that this worked for you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. How to make text box attribute required and maximum length?
    By dgeere in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 20 Mar 2010, 11:10 AM
  2. How would i make the box smaller???
    By hcd888 in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 5 Oct 2009, 01:33 AM
  3. How can I make an input box have a color rather then being plain?
    By TinkerDesign in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 Aug 2009, 03:01 PM
  4. How to change text color of input box?
    By mumzie in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Nov 2007, 06:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg