X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Where to modify the text/font size for "Product Option" drop-down box? (https://forum.x-cart.com/showthread.php?t=25598)

TL408 10-06-2006 02:33 PM

Where to modify the text/font size for "Product Option" drop-down box?
 
Hi guys,

Can you please point me to where I can modify the text/font size for the "Product Option" drop-down box?

http://img181.imageshack.us/img181/5360/productoptionwf3.jpg

Thanks
-Tuan

geckoday 10-06-2006 03:08 PM

Re: Where to modify the text/font size for "Product Option" drop-down box?
 
skin1/modules/Product_Options/customer_options.tpl

TL408 10-06-2006 03:29 PM

Re: Where to modify the text/font size for "Product Option" drop-down box?
 
Quote:

Originally Posted by geckoday
skin1/modules/Product_Options/customer_options.tpl

Would you be so kind and let me know which variable I need to change? I looked through the file but couldn't figure out where the change needs to be made.

Thanks
-Tuan

Code:

{* $Id: customer_options.tpl,v 1.24 2006/04/07 05:19:21 svowl Exp $ *}
{if $product_options ne ''}
{if $nojs ne 'Y'}
<tr style="display: none;"><td>
<script type="text/javascript" language="JavaScript 1.2">
<!--
var alert_msg = '{$alert_msg}';
-->
</script>
{include file="modules/Product_Options/check_options.tpl"}
</td></tr>
{/if}

{foreach from=$product_options item=v}
{if $v.options ne '' || $v.is_modifier eq 'T'}
<tr>
<td valign="middle" height="25" class="ProductPriceConverting" nowrap>{if $usertype eq "A"}{$v.class}:&nbsp;&nbsp;{else}{$v.classtext|default:$v.class}:&nbsp;&nbsp;{/if}</td>
<td>
{if $cname ne ""}
{assign var="poname" value="$cname[`$v.classid`]"}
{else}
{assign var="poname" value="product_options[`$v.classid`]"}
{/if}
{if $v.is_modifier eq 'T'}
<input id="po{$v.classid}" type="text" name="{$poname}" value="{$v.default|escape}" />
{else}
<select id="po{$v.classid}" name="{$poname}"{if $disable} disabled="disabled"{/if}{if $nojs ne 'Y'} onchange="javascript: check_options();"{/if}>
{foreach from=$v.options item=o}
<option value="{$o.optionid}"{if $o.selected eq 'Y'} selected="selected"{/if}>{$o.option_name}{if $v.is_modifier eq 'Y' && $o.price_modifier ne 0} ({if $o.modifier_type ne '%'}{include file="currency.tpl" value=$o.price_modifier display_sign=1 plain_text_message=1}{else}{$o.price_modifier}%{/if}){/if}</option>
{/foreach}
</select>
{/if}
</td>
</tr>
{/if}
{/foreach}
{/if}


{if $product_options_ex ne ""}
<tr>
<td colspan="2"><font id="exception_msg" color="red"></font></td>
</tr>
{if $err ne ''}
<tr>
<td colspan="2"><font class="CustomerMessage">{$lng.txt_product_options_combinations_warn}:</font></td>
</tr>
{foreach from=$product_options_ex item=v}
<tr>
<td>{foreach from=$v item=o}{if $usertype eq "A"}{$o.class}{else}{$o.classtext}{/if}: {$o.option_name}<br />{/foreach}<br /></td>
</tr>
{/foreach}
{/if}
{/if}


geckoday 10-06-2006 08:00 PM

Re: Where to modify the text/font size for "Product Option" drop-down box?
 
These lines create the dropdown:
Code:

<select id="po{$v.classid}" name="{$poname}"{if $disable} disabled="disabled"{/if}{if $nojs ne 'Y'} onchange="javascript: check_options();"{/if}>
{foreach from=$v.options item=o}
<option value="{$o.optionid}"{if $o.selected eq 'Y'} selected="selected"{/if}>{$o.option_name}{if $v.is_modifier eq 'Y' && $o.price_modifier ne 0} ({if $o.modifier_type ne '%'}{include file="currency.tpl" value=$o.price_modifier display_sign=1 plain_text_message=1}{else}{$o.price_modifier}%{/if}){/if}</option>
{/foreach}

Choose your favorite method to to change the font - font tags or a css class reference.


All times are GMT -8. The time now is 08:34 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.