What's New
Viewing 12 posts - 1 through 12 (of 12 total)
Viewing 12 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic.
Hi,
The address field is too short. Is it possible to change the style to full width of addressees block like this URL.
Current address field: https://prnt.sc/u2dffp
Interested address field: https://prnt.sc/u2df1e
@yobo
Hi,
Could you please update this topic?
thank you
Hi,
Please modify the \themes\panda\templates\customer\_partials\address-form.tpl file:
change “col-lg-6” to
{if $field.name == 'address1'}col-lg-12{else}col-lg-6{/if}
See attached screenshot, then add the following code to the “Custom CSS Code”:
input[name="address1"] {max-width: 95%!important;}
Best regards.
Hi,
Modify the \themes\transformer\templates\_partials\form-fields-list.tpl file, add the following code:
<textarea
class="form-control"
name="{$field.name}"
{if isset($field.availableValues.placeholder)}placeholder="{$field.availableValues.placeholder}"{/if}
{if $field.maxLength}maxlength="{$field.maxLength}"{/if}
{if $field.required}required{/if}
>{$field.value}</textarea>
Best regards.
Hi yobo,
the best code is:
{elseif $field.name == 'address1'}
<textarea
class="form-control"
style="max-width: 100% !important;"
name="{$field.name}"
rows="6"
{if isset($field.availableValues.placeholder)}placeholder="{$field.availableValues.placeholder}"{/if}
{if $field.maxLength}maxlength="{$field.maxLength}"{/if}
{if $field.required}required{/if}
>{$field.value}</textarea>
You must be logged in to reply to this topic.