jimgun Posted February 21, 2004 Posted February 21, 2004 Was wondering if anyone knows how to change the width of the drop down boxes on any pages with forms... Or for that matter, change the background color of the drop down boxes... - For example: on create_account.php. I'd like to change the width of the drop down boxes for entry on things such as, :: First Name: Last Name: Date of Birth: * (eg. 05/21/1970) E-Mail Address: Company Details Company Name: Your Address Street Address: Suburb: Post Code: City: State/Province: Country: :: Thanks!
jimgun Posted February 21, 2004 Author Posted February 21, 2004 Or where to country list is. or the state list is. imported in from?
TerryK Posted February 21, 2004 Posted February 21, 2004 You can add a size to text input fields like this: Original code: <tr> <td class="main"><?php echo ENTRY_FIRST_NAME; ?></td> <td class="main"><?php echo tep_draw_input_field('firstname') . ' ' . (tep_not_null(ENTRY_FIRST_NAME_TEXT) ? '<span class="inputRequirement">' . ENTRY_FIRST_NAME_TEXT . '</span>': ''); ?></td> </tr> Change to: <tr> <td class="main"><?php echo ENTRY_FIRST_NAME; ?></td> <td class="main"><?<?php echo tep_draw_input_field('firstname', '', 'size="30"') . ' ' . (tep_not_null(ENTRY_FIRST_NAME_TEXT) ? '<span class="inputRequirement">' . ENTRY_FIRST_NAME_TEXT . '</span>': ''); ?></td> </tr> (Would have to add the , 'size="30" to each field you wanted to specify size on. (Change "30" to whatever size you want, of course!) Not sure about the dropdown box or bgcolor on this one though, sorry... HTH, Terry Terry Kluytmans Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like: Add order total to checkout_shipment Add order total to checkout_payment Add radio buttons at checkout_shipping (for backorder options, etc.) Duplicate Table Rate Shipping Module Better Product Review Flow * If at first you don't succeed, find out if there's a prize for the loser. *
jwiskema Posted October 13, 2004 Posted October 13, 2004 Hey - (w00t) Just wanted to say thanks dude, you would not believe how are it is to find stupid little stuff like that. ~ J ~
Recommended Posts
Archived
This topic is now archived and is closed to further replies.