tphone Posted June 18, 2014 Share Posted June 18, 2014 In 1.6 is there a way to keep the category image in grid view (for sub categories) but not have it displayed over category description? If you see HERE it covers over the description text. I did some research on here and someone said they altered the picture to fit the description box using image mapping but if I use image mapping the category breaks the frame of the site and sits there without any site content. Thanks David Link to comment Share on other sites More sharing options...
tphone Posted June 19, 2014 Author Share Posted June 19, 2014 Anyone? Link to comment Share on other sites More sharing options...
vekia Posted June 19, 2014 Share Posted June 19, 2014 you just mean that you want to remove this image: ? Link to comment Share on other sites More sharing options...
tphone Posted June 19, 2014 Author Share Posted June 19, 2014 yes - but I want to keep the sub cat images like on this page: http://ukvape.club/10-e-liquids Link to comment Share on other sites More sharing options...
tphone Posted June 23, 2014 Author Share Posted June 23, 2014 Would it be possible to remove the image across the category description in tpl or css? Link to comment Share on other sites More sharing options...
vekia Posted June 23, 2014 Share Posted June 23, 2014 hello sure it's possible open this file: category.tpl and alter this code: <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'}) 0 top no-repeat; background-size:contain; min-height:{$categorySize.height}px;" {/if}> instead of it use this one: <div class="content_scene_cat_bg" {if $category->id_image}style="min-height:{$categorySize.height}px;" {/if}> Link to comment Share on other sites More sharing options...
Recommended Posts