Alisdair Posted August 9, 2017 Share Posted August 9, 2017 Hello, I want to make category page looks exactly same as my main page Category page : Main page : To do this I must remove this : Please help me how to remove it. I am on Prestashop 1.7.20 Link to comment Share on other sites More sharing options...
prestamonste Posted August 10, 2017 Share Posted August 10, 2017 Hi there, There are 2 ways to remove it. 1. You can hide it by css. Go to file theme.css in your theme. themes/your_theme/templates/assets/css/theme.css For hide block breadcrumb Find the code: #wrapper .breadcrumb{ /* add line code*/ display: none; } For hide block category breadcrumb .block-category { /* add line code*/ display: none; } 2. You can remove this block from your template. Go to file template: themes/your_theme/templates/_partials/breadcrumb.tpl Remove all code in this file. Go to file template: themes/your_theme/templates/catalog/listing/category.tpl Remove code (From line code 27 to 42) {block name='product_list_header'} ..... {/block} Link to comment Share on other sites More sharing options...
Alisdair Posted August 10, 2017 Author Share Posted August 10, 2017 Thanks, It works. I customized category.tpl to this : {block name='product_list_header'} <div class=""> <h1 class="h1">{$category.name}</h1> </div> {/block} So it only display category name without that big container 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