SquareJack Posted October 18, 2022 Share Posted October 18, 2022 Hi, Can a stores category navigation be modified so that it shows ALL of the main categories permanently? For instance, I have three main categories = "By Color" "By Collection" and "A-Z" when you click into a main category i.e. "By collection" it will take me to that category only without the ability to navigate to other main categories. It only show the active category and "veiw all"...I would like it to show all main categories for easier navigation rather than "view all" .... Can anything be done? Thanks! Link to comment
tuanphan Posted October 19, 2022 Share Posted October 19, 2022 Add this to Design > Custom CSS /* Show category nav links */ div.nested-category-tree-wrapper { display: flex !important; float: none !important; min-width: 100% !important; max-width: 100% !important; margin-right: 0 !important; } section.products.collection-content-wrapper.products-list { flex-direction: column !important; display: flex; } .nested-category-tree-wrapper>ul { width: 100% !important; display: flex; justify-content: center; align-items: center; flex-wrap: wrap !important; } .nested-category-tree-wrapper>ul li { margin-left: 2vw; } nav.nested-category-breadcrumb { display: none !important; } ul.nested-category-children { display: none !important; } a.category-link.root { padding-bottom: 0 !important; padding-top: 6px !important; } /* fix first item space */ li.category-item:first-child a { padding-bottom: 0 !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
SquareJack Posted October 19, 2022 Author Share Posted October 19, 2022 @tuanphan Thank you so much!! Everything looks perfect except for the "By Collection" category has subcategories that mess up the formatting (see attached) is there anyway to make it so it stays on the same plane as the other subcategories? Link to comment
SquareJack Posted October 19, 2022 Author Share Posted October 19, 2022 @tuanphan Here's a video of how's it's functioning if that helps! 260430763_ScreenRecording2022-10-19at10_13_31AM.mov Link to comment
tuanphan Posted October 22, 2022 Share Posted October 22, 2022 Can you share page url? We will check it again 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
SquareJack Posted October 23, 2022 Author Share Posted October 23, 2022 @tuanphan https://marikameyer.squarespace.com pw: marikameyer22! Thank you for helping! 260430763_ScreenRecording2022-10-19at10_13_31AM.mov Link to comment
SquareJack Posted October 23, 2022 Author Share Posted October 23, 2022 @tuanphan https://marikameyer.squarespace.com/by-the-yard/collections Is the page in question. pw: marikameyer22! Thanks!! 260430763_ScreenRecording2022-10-19at10_13_31AM.mov Link to comment
tuanphan Posted October 26, 2022 Share Posted October 26, 2022 On 10/23/2022 at 10:47 PM, ErikaLynn said: @tuanphan https://marikameyer.squarespace.com/by-the-yard/collections Is the page in question. pw: marikameyer22! Thanks!! 260430763_ScreenRecording2022-10-19at10_13_31AM.mov Try adding this code under .products.collection-content-wrapper .nested-category-tree-wrapper li ul { display: none; } 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
SquareJack Posted October 26, 2022 Author Share Posted October 26, 2022 @tuanphan thank you, I added the new line of code under but It shows up just for a second and then the subcategories (under collection) disappear. Darn! Screen recording attached. 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