![]() |
Cleaning up the look of displayed options
For our products, we tend to have a lot of options for customers, both drop down and custom text fields. To make them look a little bit cleaner, we would like both drop down and custom text fields to be the same width. Does anyone know how to do that?
thanks, ds |
Re: Cleaning up the look of displayed options
You'd need to hard-code a width in modules/product_options/customer_options.tpl
|
Re: Cleaning up the look of displayed options
Quote:
Yes, I tried that. I changed: Code:
<td valign="middle" height="25">{if $usertype eq "A"}{$v.class}{else}{$v.classtext|default:$v.class}{/if}</td> to this: Code:
<td valign="middle" height="25" width="200">{if $usertype eq "A"}{$v.class}{else}{$v.classtext|default:$v.class}{/if}</td> With no success............ |
Re: Cleaning up the look of displayed options
No, not the tables, the form elements (input and textbox)
|
Re: Cleaning up the look of displayed options
Apply style attributes to the input and select fields..
As Balinor says... modules/product_options/customer_options.tpl Inputs... Code:
<input style="width:100%;" id="po{$v.classid}" type="text" name="{$poname}" value="{$v.default|escape}" /> Code:
<select style="width:100%;" id="po{$v.classid}" name="{$poname}"{if $disable} disabled="disabled"{/if}{if $nojs ne 'Y'} onchange="javascript: check_options();"{/if}> |
All times are GMT -8. The time now is 12:43 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.