Jump to content

[Resolved] Appearance Issues, Remove Category Images and reduce Search Box Size


Recommended Posts

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} -->

 

Edited by ayz1
Link to comment
Share on other sites

  • 4 weeks later...

In Crosshatch:

For this category's image:
Find near line 2:
{if isset($category.image)}

Change to:
{if false && isset($category.image)}

For subcategories' images:
Find near line 8:
	{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}"/></a>
		<br/>
		<a href="{$subcat.url}" title="{$subcat.cat_name}">{$subcat.cat_name}</a>
	</div>
	{/foreach}

Change to:
	{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}"/></a>
		<br/> -->
		<a href="{$subcat.url}" title="{$subcat.cat_name}">{$subcat.cat_name}</a>
	</div>
	{/foreach}

 

Link to comment
Share on other sites

  • 1 month later...

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} -->

 

Sorry, but add <!-- and --> where?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...