benjiplant Posted March 11 Share Posted March 11 Hello, I am having issues with my product categories showing up on mobile. It works fine on a desktop, but I'm having issues with mobile. On the home page, the category list is visible but disappears after I select a category. How can I make it so product categories are visible on all category pages? My website: https://benjiplant.com Link to comment
tuanphan Posted March 13 Share Posted March 13 You can use this code to Website > Website Tools > Custom CSS /* show category nav on mobile */ @media screen and (max-width:767px) { .nested-category-tree-wrapper { display: flex !important; width: 100% !important; min-width: unset !important; max-width: unset !important; } .nested-category-tree-wrapper>ul { width: 100% !important; display: flex; align-items: center; justify-content: space-between; } section.products.collection-content-wrapper.products-list { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } .nested-category-tree-wrapper>ul a { margin-bottom: 0px !important; padding-bottom: 0px !important; } } 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!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment