View Single Post
  #94  
Old 08-01-2013, 11:33 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: xMobile - Smartphone mobile template

here's a minor bug that was easy to catch -- only needed to fix if you use the textarea input for product options -- such as a message or monogramming...

file:
/skin/txs_xmobile/modules/Product_Options/customer_options.tpl

FIND:
Code:
<textarea id="po{$v.classid}" name="{$poname}">{$v.default|escape}</textarea>

REPLACE WITH:
Code:
<textarea id="po{$v.classid}" type="textarea" name="{$poname}">{$v.default|escape}</textarea>

(the type="textarea" was missing)
there was no way to format this field without the type= defined


[EDIT] -- there was another way to edit this -- without defining type="textarea" -- define the width here:
@media only screen and (max-width : 446px) {
.contact-holder input[type="text"] {width: 170px;}
#b_country {width: 170px;}
textarea {width: 270px;height: 80px;}
}

This is a workaround... [/EDIT]
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote