Jump to content

Category image problem


Recommended Posts

Please see the picture about the problem.

 

So I add a image to the category and I want it to fill out the little box on the store. This works fine, but why on earth this same picture goes also on top of category text at the category page? Is there a way to add a image which does not go there?

post-781667-0-47486000-1402161847_thumb.png

Link to comment
Share on other sites

Because these are category pictures.

 

If you don't want it remove this:

{if $category->id_image}style="background:url({$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')|escape:'html':'UTF-8'}) 0 top no-repeat; background-size:contain; min-height:{$categorySize.height}px;" {/if}

from category.tpl

Link to comment
Share on other sites

Because these are category pictures.

 

If you don't want it remove this:

{if $category->id_image}style="background:url({$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')|escape:'html':'UTF-8'}) 0 top no-repeat; background-size:contain; min-height:{$categorySize.height}px;" {/if}

from category.tpl

Thanks. this works.

Link to comment
Share on other sites

  • 3 months later...

Hi, I have a problem with this function.

 

I only want remove the min-height in the function, but even I deleted it, the image has the min-height always.

I remove all cache files, recompile my templates, etc. 

 

You can see an example here :

http://patukos.net/21-bebe-3-a-24

 

 

let's clarify to what image you're reffering

to main category image? or to images of sucategories (i see that they are wierd)

Link to comment
Share on other sites

×
×
  • Create New...