ridecals Posted December 14, 2015 Share Posted December 14, 2015 Hi All,Where do I add <!-- and --> ? And does it matter if I am using e-Shift?To remove the category images in file skins/foundation/templates/content.category.php add comments <!-- and --> to the following <!-- {if isset($category.image)}<div class="row"> <div class="small-12 columns"><img src="{$category.image}" alt="{$category.cat_name}" class="marg-bottom"></div></div>{/if} --> To remove sub category images <!-- {if isset($SUBCATS) && $SUBCATS}<ul class="medium-block-grid-6 text-center{if $CONFIG.catalogue_expand_tree ==1} show-for-medium-up{else} small-block-grid-3{/if}" data-equalizer> {foreach from=$SUBCATS item=subcat} <li data-equalizer-watch> <a href="{$subcat.url}" title="{$subcat.cat_name}"> <img class="th" src="{$subcat.cat_image}" alt="{$subcat.cat_name}"> </a> <a href="{$subcat.url}" title="{$subcat.cat_name}"><small>{$subcat.cat_name}</small></a> </li> {/foreach}</ul>{/if} --> Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 15, 2015 Share Posted December 15, 2015 With the e-Shift skin, to remove the subcat images (the e-Shift skin does not show that category's image), make this edit.In the e-Shift template content.category.php, find:{if $SUBCATS} <div id="subcategories"> {foreach from=$SUBCATS item=subcat} <div class="subcategory"> <a href="{$subcat.url}" title="{$subcat.cat_name}"> <img src="{$subcat.cat_image}" alt="{$subcat.cat_name}" /> {$subcat.cat_name} </a> </div> {/foreach} </div> {/if} Change to:{if $SUBCATS} <div id="subcategories"> {foreach from=$SUBCATS item=subcat} <div class="subcategory"> <a href="{$subcat.url}" title="{$subcat.cat_name}"> {* <img src="{$subcat.cat_image}" alt="{$subcat.cat_name}" /> *} {$subcat.cat_name} </a> </div> {/foreach} </div> {/if} To remove the entire sub-cat area: change to:{if false && $SUBCATS} <div id="subcategories"> {foreach from=$SUBCATS item=subcat} <div class="subcategory"> <a href="{$subcat.url}" title="{$subcat.cat_name}"> <img src="{$subcat.cat_image}" alt="{$subcat.cat_name}" /> {$subcat.cat_name} </a> </div> {/foreach} </div> {/if} Quote Link to comment Share on other sites More sharing options...
ridecals Posted December 17, 2015 Author Share Posted December 17, 2015 Beautiful ! Thanks a lot, again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.