ronelgon Posted November 3, 2014 Share Posted November 3, 2014 Hello, How do i HIDE categories thumbnails in prestashop 1.6.x? I want to completely hide the thumbnails because i have many categories and yet not able to add thumbnails to all of them and the same i dislike the default thumbnail of showing "?" Now i just want to display only category titles without thumbnails. Your help will be highly appreciated Thank you Ronnie Link to comment Share on other sites More sharing options...
dioniz Posted November 3, 2014 Share Posted November 3, 2014 Do you mean subcategories on category page? Link to comment Share on other sites More sharing options...
ronelgon Posted November 3, 2014 Author Share Posted November 3, 2014 Hello, Thanks for your reply. Yes you would like to hide thumbnails for sub categories so that i just show category titles without thumbnails. Your help will be highly appreciated Thank you Ronnie Link to comment Share on other sites More sharing options...
dioniz Posted November 3, 2014 Share Posted November 3, 2014 Open yourdomain\themes\yourtheme\category.tpl and find this code: <div class="subcategory-image"> <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}" title="{$subcategory.name|escape:'html':'UTF-8'}" class="img"> {if $subcategory.id_image} <img class="replace-2x" src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium_default')|escape:'html':'UTF-8'}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {else} <img class="replace-2x" src="{$img_cat_dir}default-medium_default.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {/if} </a> </div> and comment out or delete. Link to comment Share on other sites More sharing options...
ronelgon Posted November 3, 2014 Author Share Posted November 3, 2014 Thanks alot.Yes it has worked as i wanted.However, i would also like to reduce the font size of the sub category titles. The font is abit BIG.how do i reduce the font size for sub category titles? Otherwise thanks once again Ronnie Link to comment Share on other sites More sharing options...
dioniz Posted November 3, 2014 Share Posted November 3, 2014 Open yourdomain/themes/yourtheme/css/category.css and find code: #subcategories ul li .subcategory-name { color: #555454; font: 600 18px/22px "Open Sans",sans-serif; text-transform: uppercase; } Change 18px to something smaller 1 Link to comment Share on other sites More sharing options...
ronelgon Posted November 4, 2014 Author Share Posted November 4, 2014 Hello, Thanks alot for your quick help. But now how do i reduce the space between sub categories as shown in the attached picture? Thanks once again Kind regards, Ronnie Link to comment Share on other sites More sharing options...
dioniz Posted November 4, 2014 Share Posted November 4, 2014 I'm not sure but try to change height in this code in category.css: #subcategories ul li { float: left; height: 202px; margin: 0 0 13px 33px; text-align: center; width: 145px; } Link to comment Share on other sites More sharing options...
Recommended Posts