NILAGolf_ Posted June 7, 2014 Share Posted June 7, 2014 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? Link to comment Share on other sites More sharing options...
dioniz Posted June 7, 2014 Share Posted June 7, 2014 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 More sharing options...
NILAGolf_ Posted June 7, 2014 Author Share Posted June 7, 2014 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 More sharing options...
patukos Posted September 12, 2014 Share Posted September 12, 2014 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 Link to comment Share on other sites More sharing options...
dioniz Posted September 12, 2014 Share Posted September 12, 2014 I don't quite understand what you want to achieve Link to comment Share on other sites More sharing options...
vekia Posted September 12, 2014 Share Posted September 12, 2014 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 More sharing options...
Recommended Posts