simone79vi Posted November 13, 2016 Share Posted November 13, 2016 Hi, I want to reduce the height of image of the category.. now is min-height 217px.. Is it possible to reduce? This is the link http://shop.sospersonalcomputer.it/23-macbook Thank you Link to comment Share on other sites More sharing options...
endriu107 Posted November 13, 2016 Share Posted November 13, 2016 This is in category.tpl file: <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'}) right center no-repeat; background-size:cover; min-height:{$categorySize.height}px;"{/if}> as you can see there is min-height:{$categorySize.height}px; if you want to have specific height you can put it in px for example min-height:150px; Link to comment Share on other sites More sharing options...
simone79vi Posted November 13, 2016 Author Share Posted November 13, 2016 I made it but nowthing change... :/ Link to comment Share on other sites More sharing options...
endriu107 Posted November 13, 2016 Share Posted November 13, 2016 After change in tpl file you need to go to Advanced Parameters > Performance > and clear cache. Link to comment Share on other sites More sharing options...
simone79vi Posted November 13, 2016 Author Share Posted November 13, 2016 Don't work.. I made this: <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'}) right center no-repeat; background-size:cover; min-height:150px;"{/if}> in the themes/default-bootstrap/category.tpl It's correct? Link to comment Share on other sites More sharing options...
endriu107 Posted November 13, 2016 Share Posted November 13, 2016 You also need to turn on compilation and clear cache once again. Link to comment Share on other sites More sharing options...
simone79vi Posted November 13, 2016 Author Share Posted November 13, 2016 I made it.. but always 217px.. :/ Link to comment Share on other sites More sharing options...
endriu107 Posted November 13, 2016 Share Posted November 13, 2016 It means you make change in incorrect file or you didn't turn on compilation and clear cache correctly. Link to comment Share on other sites More sharing options...
simone79vi Posted November 13, 2016 Author Share Posted November 13, 2016 The file category.tpl is in themes/default-bootstrap Correct? Link to comment Share on other sites More sharing options...
endriu107 Posted November 13, 2016 Share Posted November 13, 2016 If you use default-bootstrap theme it is correct. Link to comment Share on other sites More sharing options...
simone79vi Posted November 13, 2016 Author Share Posted November 13, 2016 yes.. default-bootstrap Link to comment Share on other sites More sharing options...
endriu107 Posted November 13, 2016 Share Posted November 13, 2016 Show us screen from all Advanced Parameters > Performance page. Link to comment Share on other sites More sharing options...
simone79vi Posted November 13, 2016 Author Share Posted November 13, 2016 This.. Link to comment Share on other sites More sharing options...
endriu107 Posted November 14, 2016 Share Posted November 14, 2016 On this page in the bottom there is also cache settings it is enable or disable? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now