PVyGN Posted October 29, 2013 Share Posted October 29, 2013 (edited) Hola, Tengo problemas con el diseño de mi plantilla y es que necesito eliminar la imagen superior que sale al darle a la subcategoría, que corresponde a la introducida en el propio botón de la subcategoría y que queda demasiado grande o incluso sobra. Además, cómo resolver que al entrar en una categoría los productos salgan mostrados tanto en grid (cuadrícula) como en list (en listado). Gracias. Edited March 31, 2014 by PVyGN (see edit history) Link to comment Share on other sites More sharing options...
nadie Posted October 29, 2013 Share Posted October 29, 2013 Para ocultar la imagen grande de la categoria. En tu fichero: /themes/plantilla/category.tpl Buscar algo como esto: {if $scenes} <!-- Scenes --> {include file="$tpl_dir./scenes.tpl" scenes=$scenes} {else} <!-- Category image --> {if $category->id_image} <div class="align_center"> <img src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')|escape:'html'}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" width="{$categorySize.width}" height="{$categorySize.height}" /> </div> {/if} {/if} Y dejalo asi: {* {if $scenes} <!-- Scenes --> {include file="$tpl_dir./scenes.tpl" scenes=$scenes} {else} <!-- Category image --> {if $category->id_image} <div class="align_center"> <img src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')|escape:'html'}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" width="{$categorySize.width}" height="{$categorySize.height}" /> </div> {/if} {/if} *} Link to comment Share on other sites More sharing options...
Recommended Posts