rtijori Posted July 3, 2023 Posted July 3, 2023 (edited) Hi! I would love for my customers to be able to sort through products by category, but I would prefer the "all" link not be there so items in different categories don't show up side by side. How do I write code to do this? Thank you for your help! Edited July 3, 2023 by rtijori
DPruitt Posted July 3, 2023 Posted July 3, 2023 .nested-category-tree-wrapper .category-item:first-child {display:none;}
tuanphan Posted July 9, 2023 Posted July 9, 2023 On 7/7/2023 at 1:34 AM, rtijori said: Thank you for the suggestion! When I use this, the "All" is still there though and it adds a black header to top of my page. Am I putting this is the wrong location? I went to Shop Settings, Advanced and then put this in Page Header Code Injection. Hi, No. It should be in Design > Custom CSS Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
rtijori Posted July 11, 2023 Author Posted July 11, 2023 On 7/3/2023 at 4:29 PM, DPruitt said: .nested-category-tree-wrapper .category-item:first-child {display:none;} I found the correct location to add this code! Unfortunately though, it doesn't hide the "all". Is there anything else I could try? Or should be doing first? Thank you again!
DPruitt Posted July 12, 2023 Posted July 12, 2023 .nested-category-tree-wrapper .category-item:first-child {display:none !important;} Not sure, its working on my 7.1 sites. Maybe try adding !important like the code above, but it really shouldn't need it.
rtijori Posted July 13, 2023 Author Posted July 13, 2023 Could the issue be that my site is 7 (Version 7.0– Brine family (West template)? If so, would the code be different for that?
Solution DPruitt Posted July 13, 2023 Solution Posted July 13, 2023 If possible, always list your URL so that your site can be checked. Brine: .ProductList-filter-list-item--all {display:none!important} tuanphan 1
rtijori Posted July 14, 2023 Author Posted July 14, 2023 This worked! Thank you so much, I'm grateful for the help!
rayinado Posted July 22, 2023 Posted July 22, 2023 Hello all, I have a website shop. I was wondering if anyone knows a way of hiding the ‘all’ category in my menu as I feel it looks confusing to potential customers. Any feedback would be gratefully appreciated.
creedon Posted July 22, 2023 Posted July 22, 2023 Please see the following. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
rayinado Posted July 23, 2023 Posted July 23, 2023 Thank you. When I go to my TOP CATEGORY it doesn’t give the option ‘filter visibility’. Also, if I made this invisible, how would people get to the other categories? Thanks.
rayinado Posted July 23, 2023 Posted July 23, 2023 Thank you. When I go to my TOP CATEGORY it doesn’t give the option ‘filter visibility’. Also, if I made this invisible, how would people get to the other categories? Is this because I’m on version 7.0? I don’t have the budget to upgrade at present. Thanks.
tuanphan Posted July 24, 2023 Posted July 24, 2023 19 hours ago, rayinado said: Thank you. When I go to my TOP CATEGORY it doesn’t give the option ‘filter visibility’. Also, if I made this invisible, how would people get to the other categories? Is this because I’m on version 7.0? I don’t have the budget to upgrade at present. Thanks. Can you share site url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment