gracenote Posted November 1, 2014 Share Posted November 1, 2014 Hi guys, I'm trying to figure out how to make modifications to the product list in category B (delete quantity field, for example) without affecting the look of category A. What file do I need to modify? Or do I need to create a new file specifically for category B? Thank you. I'm working with Prestashop 1.6 Have a great night/day. gracenote Link to comment Share on other sites More sharing options...
gracenote Posted November 1, 2014 Author Share Posted November 1, 2014 *bump* Link to comment Share on other sites More sharing options...
gracenote Posted November 1, 2014 Author Share Posted November 1, 2014 So as you can see at this link: https://penguinyell.com/5-custom-penguin-yell I've managed to remove the sort by drop down and the grid/list options by going to global.css Unfortunately, as you can see there is still text that says "sort by" and "view"... still trying to figure out how to remove this just for this one category. Also, I'd like to remove the add to cart button, price, and quantity field for this specific category alone. Link to comment Share on other sites More sharing options...
gracenote Posted November 1, 2014 Author Share Posted November 1, 2014 web site: https://penguinyell.com/5-custom-penguin-yell So I tried this code for the line of text on the category page that says "Custom Penguin Yell" on the left and "There are 3 products" on the right. I have it in my theme's global.css file: .category-5 #h1.page-heading.product-listing{ display:none; } Unfortunately, it did not hide the page heading or product listing count. Any thoughts? Link to comment Share on other sites More sharing options...
gracenote Posted November 1, 2014 Author Share Posted November 1, 2014 Awesome. This removed the text. body.category-5 h1.page-heading{ display:none; } body.category-5 h1.product-listing{ display:none; } I also used the same technique to hide the "add to cart," quantity field, and more button. My one problem is when I hover over with a mouse, the "add to cart", quantity field, and "more" button reappear. How do I hide these? I'm guessing the same technique would do, but I'm not sure what code affects the hover. Link to comment Share on other sites More sharing options...
gracenote Posted November 3, 2014 Author Share Posted November 3, 2014 Any ideas on my last post? Link to comment Share on other sites More sharing options...
Recommended Posts