ChristopheDe Posted January 28, 2023 Share Posted January 28, 2023 Hello , I'd like to remove the subcategory menu. I suppose I have to change this in the template ? What do I have to adapt an where ? Regards , Christophe. Link to comment Share on other sites More sharing options...
JBW Posted January 29, 2023 Share Posted January 29, 2023 Easiest way, put following statement in your theme/assets/custom.css file #subcategories { display: none; } To completely elimate it override block subcategory_list in file themes\classic\templates\catalog\listing\product-list.tpl 1 Link to comment Share on other sites More sharing options...
Matje Posted September 20, 2023 Share Posted September 20, 2023 (edited) Did it work Christophe? Is that really the only possibility? The appearance of the block subcategory is very annoying and superfluous. In my previous webshop (PS 1.7.6) it is not there. And I do not think I disabled it anywhere. Edited September 21, 2023 by Matje typo (see edit history) Link to comment Share on other sites More sharing options...
ChristopheDe Posted September 21, 2023 Author Share Posted September 21, 2023 15 hours ago, Matje said: Did it work Christophe? Is that really the only possibility? The appearance of the block subcategory is very annoying and superfluous. In my previous webshop (PS 1.7.6) it is not there. And I do not thing I disabled it anywhere. Yes it worked , I change the suggested lines.I found no other solution at the time. Link to comment Share on other sites More sharing options...
Matje Posted September 22, 2023 Share Posted September 22, 2023 (edited) Thanks for your answer Christophe! Please some more help. I am trying to implement the suggestions. But I cannot find the file custom.css. Not in mytheme/assets. And not in mytheme/assets/css. There are only theme.css and error.css So I want to try the second suggestion. But what is meant by: "override"? Should I put a php-command there? Edit: I think I found it. I commented out block subcategory_list and now the subcategory menu is gone. Edited September 22, 2023 by Matje (see edit history) Link to comment Share on other sites More sharing options...
JBW Posted September 22, 2023 Share Posted September 22, 2023 10 hours ago, Matje said: And not in mytheme/assets/css you can simply add a custom.css flle there, you will need it for any css changes anyway 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