bynovita Posted June 15, 2015 Share Posted June 15, 2015 1.6.0.14 I am using Link to comment Share on other sites More sharing options...
TribalDexterD Posted June 16, 2015 Share Posted June 16, 2015 (edited) Search this: <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> And delete the entire DIV. Do a backup of this file before. Edited June 16, 2015 by TribalDexterD (see edit history) Link to comment Share on other sites More sharing options...
bynovita Posted June 17, 2015 Author Share Posted June 17, 2015 Thank Link to comment Share on other sites More sharing options...
TribalDexterD Posted June 17, 2015 Share Posted June 17, 2015 Top {else} <!-- Category image --> <div class="content_scene_cat_bg"{if $category->id_image} style="background:url({$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')|escape:'html':'UTF-8'}) right center no-repeat; background-size:cover; min-height:{$categorySize.height}px;"{/if}> {if $category->description} <div class="cat_desc"> <span class="category-name"> {strip} {$category->name|escape:'html':'UTF-8'} {if isset($categoryNameComplement)} {$categoryNameComplement|escape:'html':'UTF-8'} {/if} {/strip} </span> {if Tools::strlen($category->description) > 350} <div id="category_description_short" class="rte">{$description_short}</div> <div id="category_description_full" class="unvisible rte">{$category->description}</div> <a href="{$link->getCategoryLink($category->id_category, $category->link_rewrite)|escape:'html':'UTF-8'}" class="lnk_more">{l s='More'}</a> {else} <div class="rte">{$category->description}</div> {/if} </div> {/if} </div> {/if} </div> Bottom {if isset($subcategories)} {if (isset($display_subcategories) && $display_subcategories eq 1) || !isset($display_subcategories) } <!-- Subcategories --> <div id="subcategories"> <p class="subcategory-heading">{l s='Subcategories'}</p> <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> <h5><a class="subcategory-name" href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}">{$subcategory.name|truncate:25:'...'|escape:'html':'UTF-8'}</a></h5> {if $subcategory.description} <div class="cat_desc">{$subcategory.description}</div> {/if} </li> {/foreach} </ul> </div> {/if} {/if} Link to comment Share on other sites More sharing options...
bynovita Posted June 17, 2015 Author Share Posted June 17, 2015 (edited) what am I going to do I do not understand Top {else} <!-- Category image --> <div class="content_scene_cat_bg"{if $category->id_image} style="background:url({$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')|escape:'html':'UTF-8'}) right center no-repeat; background-size:cover; min-height:{$categorySize.height}px;"{/if}> {if $category->description} <div class="cat_desc"> <span class="category-name"> {strip} {$category->name|escape:'html':'UTF-8'} {if isset($categoryNameComplement)} {$categoryNameComplement|escape:'html':'UTF-8'} {/if} {/strip} </span> {if Tools::strlen($category->description) > 350} <div id="category_description_short" class="rte">{$description_short}</div> <div id="category_description_full" class="unvisible rte">{$category->description}</div> <a href="{$link->getCategoryLink($category->id_category, $category->link_rewrite)|escape:'html':'UTF-8'}" class="lnk_more">{l s='More'}</a> {else} <div class="rte">{$category->description}</div> {/if} </div> {/if} </div> {/if} </div> Bottom {if isset($subcategories)} {if (isset($display_subcategories) && $display_subcategories eq 1) || !isset($display_subcategories) } <!-- Subcategories --> <div id="subcategories"> <p class="subcategory-heading">{l s='Subcategories'}</p> <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> <h5><a class="subcategory-name" href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}">{$subcategory.name|truncate:25:'...'|escape:'html':'UTF-8'}</a></h5> {if $subcategory.description} <div class="cat_desc">{$subcategory.description}</div> {/if} </li> {/foreach} </ul> </div> {/if} {/if} Edited June 17, 2015 by bynovita (see edit history) Link to comment Share on other sites More sharing options...
TribalDexterD Posted June 17, 2015 Share Posted June 17, 2015 Do you want to remove the item that you've indicated in the image? So, just delete it from your tpl file. Link to comment Share on other sites More sharing options...
bynovita Posted June 17, 2015 Author Share Posted June 17, 2015 (edited) Do you want to remove the item that you've indicated in the image? So, just delete it from your tpl file. yes, I want to remove items When I remove items tpl file, I get a white page error Edited June 17, 2015 by bynovita (see edit history) Link to comment Share on other sites More sharing options...
TribalDexterD Posted June 18, 2015 Share Posted June 18, 2015 (edited) Hi, replace your category.tpl with this one. category.tpl.zip Edited June 18, 2015 by TribalDexterD (see edit history) 1 Link to comment Share on other sites More sharing options...
bynovita Posted June 19, 2015 Author Share Posted June 19, 2015 Hi, replace your category.tpl with this one. excellent thanks Link to comment Share on other sites More sharing options...
TribalDexterD Posted June 19, 2015 Share Posted June 19, 2015 Your welcome Put solved on the title of this post. Link to comment Share on other sites More sharing options...
bynovita Posted July 27, 2015 Author Share Posted July 27, 2015 be on the same level I want Link to comment Share on other sites More sharing options...
TribalDexterD Posted July 27, 2015 Share Posted July 27, 2015 Whats? Can you post the link to your shop? Link to comment Share on other sites More sharing options...
bynovita Posted July 28, 2015 Author Share Posted July 28, 2015 Whats? Can you post the link to your shop? www.bynovita.com Link to comment Share on other sites More sharing options...
TribalDexterD Posted July 28, 2015 Share Posted July 28, 2015 Go to: shopfolder/theme/yourtheme/css/category.css line 4 .content_scene_cat -> line 8 margin: 0 0 26px 0; You should to add 18px on margin top, so -> margin: 18px 0 26px 0; Remember to empty the cache. Link to comment Share on other sites More sharing options...
bynovita Posted July 29, 2015 Author Share Posted July 29, 2015 Go to: shopfolder/theme/yourtheme/css/category.css line 4 .content_scene_cat -> line 8 margin: 0 0 26px 0; You should to add 18px on margin top, so -> margin: 18px 0 26px 0; Remember to empty the cache. Thank you very much How do I change the colors in CSS home page Link to comment Share on other sites More sharing options...
TribalDexterD Posted July 31, 2015 Share Posted July 31, 2015 Which elements do you want to change? Link to comment Share on other sites More sharing options...
bynovita Posted August 3, 2015 Author Share Posted August 3, 2015 These portions Link to comment Share on other sites More sharing options...
bynovita Posted August 22, 2015 Author Share Posted August 22, 2015 Hi friends, How do I edit the following banners on the homepage? https://www.evernote.com/shard/s355/sh/ceb4c949-3d13-4f66-b473-eae7551c8443/278034870a2bc347 Link to comment Share on other sites More sharing options...
bynovita Posted August 22, 2015 Author Share Posted August 22, 2015 Hi friends, How do I edit the following banners on the homepage? Link to comment Share on other sites More sharing options...
nwsmotorservices Posted January 15, 2016 Share Posted January 15, 2016 Hi, replace your category.tpl with this one. Hi it says i don't have permission to download the attachment, what shall i do? Link to comment Share on other sites More sharing options...
Recommended Posts