Бывалые помогите. не могу разобраться. сразу 4 проблемы
1) как убрать Subcategories: надпись
2) как убрать There are no products in this category.
3) не могу сделать что бы текст был по середине картинки
4) и CATEGORIES где переименовать? все облазил
http://s017.radikal.ru/i438/1612/b9/3c1a639620ba.png
category.tpl
Код:
{*
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 license@prestashop.com 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 <contact@prestashop.com>
* @copyright 2007-2015 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{include file="$tpl_dir./errors.tpl"}
{if isset($category)}
{if $category->id AND $category->active}
<h1 class="page-heading{if (isset($subcategories) && !$products) || (isset($subcategories) && $products) || !isset($subcategories) && $products} product-listing{/if}"><span </center>class="cat-name"</center>>{$category->name|escape:'html':'UTF-8'}{if isset($categoryNameComplement)} {$categoryNameComplement|escape:'html':'UTF-8'}{/if}</span>{include file="$tpl_dir./category-count.tpl"}</h1>
</div>
{/if}
{if $category->description}
<div class="cat_desc rte">{$category->description}</div>
{/if}
{if isset($subcategories)}
{if (isset($display_subcategories) && $display_subcategories eq 1) || !isset($display_subcategories) }
<!-- Subcategories -->
<div id="subcategories">
<ul class="clearfix">
{foreach from=$subcategories item=subcategory}
<li>
<div class="subcategory-image">
<a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}" title="{$subcategory.name|escape:'html':'UTF-8'}" class="img">
{if $subcategory.id_image}
<img class="replace-2x" src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium_default')|escape:'html':'UTF-8'}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />
{else}
<img class="replace-2x" src="{$img_cat_dir}{$lang_iso}-default-medium_default.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />
{/if}
</a>
</div>
<pre><center><a class="subcategory-name" href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}">{$subcategory.name|escape:'html':'UTF-8'}</a></center></pre>
{if $subcategory.description}
<div class="cat_desc">{$subcategory.description}</div>
{/if}
</li>
{/foreach}
</ul>
</div>
{/if}
{/if}
{if $products}
<div class="content_sortPagiBar clearfix">
<div class="sortPagiBar clearfix">
{include file="./product-sort.tpl"}
{include file="./nbr-product-page.tpl"}
</div>
</div>
{include file="./product-list.tpl" products=$products}
<div class="content_sortPagiBar">
<div class="bottom-pagination-content clearfix">
{include file="./product-compare.tpl" paginationId='bottom'}
{include file="./pagination.tpl" paginationId='bottom'}
</div>
</div>
{/if}
{elseif $category->id}
<p class="alert alert-warning">{l s='This category is currently unavailable.'}</p>
{/if}
{/if}
category.сss
Код:
@charset "utf-8";
h1{margin-bottom:10px;}
.resumecat {
background: none repeat scroll 0 0 #FFFFE0;
border: 1px solid #E6DB55;
margin:15px 0 10px 0;
padding:8px 7px;
}
.content_scene_cat {
padding:0px;
margin-bottom:8px;
}
.cat_desc {
font-size:12px;
line-height:18px;
}
.cat_desc p {padding:0 0 5px 0px}
.cat_desc .lnk_more {
padding:0 10px;
color:#222222;
background:url(../img/arrow_right_1.png) no-repeat 100% 4px transparent;
}
/* ************************************************************************************************
SUB CATEGORIES
************************************************************************************************ */
#subcategories ul li {
font-size: 14px;
display: inline-block;
margin: 0 15px 15px 0;
}
#subcategories {margin-top:15px}
#subcategories h3 {
padding:5px 12px;
font-size:13px;
color:#666;
text-transform:uppercase;
background:#F6F6F6;
}
#subcategories u1 {
list-style-type:none;
}
.item_count { padding:0;}
#subcategories .inline_list img,#subcategory_block_center .product-inner img
{
display: block;
float: left;
margin-right: 14px;
vertical-align: bottom;
border:1px solid#eee;
}
#subcategory_block_center .product-inner img { margin-bottom:10px;}
#subcategories .inline_list{
border: 1px solid #f6f6f6;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
padding: 12px 8px;
margin:8px;
overflow:auto;
background:#fff;
box-shadow:0 0 3px #ddd;
-webkit-box-shadow:0 0 3px #ddd;
-moz-box-shadow:0 0 3px #ddd;
}
.subcategory_default_width { width:250px;}
#subcategory_block_center .product_list li
{
float:left;
margin: 0;
padding: 0;
position: relative;
vertical-align: top;
width:100%;
}
#subcategory_block_center .product-inner { text-align:left;}
.subcategory_list .subcat-1 { width:100%}
.subcategory_list .subcat-2 { width:50%}
.subcategory_list .subcat-3 { width:33%}
.subcategory_list li { width:33%}/* CSS Document */
Сообщение отредактировал 18269 (04-12-2016 20:24)