Witam. Jak powiększyć pole treśći, tak aby nie było przewijania tylko cała treść widoczna?
w product-customization.tpl
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <[email protected]>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<section class="product-customization">
{if !$configuration.is_catalog}
<div class="card card-block">
<h3 class="h4 card-title">{l s='Product customization' d='Shop.Theme.Catalog'}</h3>
{l s='Don\'t forget to save your customization to be able to add to cart' d='Shop.Forms.Help'}
{block name='product_customization_form'}
<form method="post" action="{$product.url}" enctype="multipart/form-data">
<ul class="clearfix">
{foreach from=$customizations.fields item="field"}
<li class="product-customization-item">
<label> {$field.label}</label>
{if $field.type == 'text'}
<textarea placeholder="{l s='Your message here' d='Shop.Forms.Help'}" class="product-message" maxlength="500" {if $field.required} required {/if} name="{$field.input_name}"></textarea>
<small class="float-xs-right">{l s='250 char. max' d='Shop.Forms.Help'}</small>
{if $field.text !== ''}
<h6 class="customization-message">{l s='Your customization:' d='Shop.Theme.Catalog'}
<label>{$field.text}</label>
</h6>
{/if}
{elseif $field.type == 'image'}
{if $field.is_customized}
<br>
<img src="{$field.image.small.url}">
<a class="remove-image" href="{$field.remove_image_url}" rel="nofollow">{l s='Remove Image' d='Shop.Theme.Actions'}</a>
{/if}
<span class="custom-file">
<span class="js-file-name">{l s='No selected file' d='Shop.Forms.Help'}</span>
<input class="file-input js-file-input" {if $field.required} required {/if} type="file" name="{$field.input_name}">
<button class="btn btn-primary">{l s='Choose file' d='Shop.Theme.Actions'}</button>
</span>
<small class="float-xs-right">{l s='.png .jpg .gif .cdr .pdf .ai .eps' d='Shop.Forms.Help'}</small>
{/if}
</li>
{/foreach}
</ul>
<div class="clearfix">
<button class="btn btn-primary float-xs-right" type="submit" name="submitCustomizedData">{l s='Save Customization' d='Shop.Theme.Actions'}</button>
</div>
<div class="clearfix">
<button class="btn btn-primary float-xs-left" type="submit" name="Gotowy projekt">{l s='Gotowy projekt' d='Shop.Theme.Actions'}</button>
</div>
</form>
{/block}
</div>
{/if}
</section>
Question
Karol
Witam. Jak powiększyć pole treśći, tak aby nie było przewijania tylko cała treść widoczna?
w product-customization.tpl
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now