Tristan93100 Posted April 1, 2020 Share Posted April 1, 2020 Site URL: https://bluebird-vuvuzela-mxmr.squarespace.com/ Hi, I'm trying to reorder the categories from my shop page. I know that by default it's alphabetized but is there a code that I can use to fix this? I tried to copy/past a code from the forum but it didn't work... 😕 For instance I'd like to change the order of the categories for each shop page (Top, Manteaux & Vestes, Pantalons, Robes & jupes, Chaussures & accéssoires): Femme Homme XS S M L XL Thank you !! Link to comment
tuanphan Posted April 1, 2020 Share Posted April 1, 2020 Can you share access password? 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
Tristan93100 Posted April 1, 2020 Author Share Posted April 1, 2020 5 minutes ago, tuanphan said: Can you share access password? Sure, 5555pock Link to comment
tuanphan Posted April 1, 2020 Share Posted April 1, 2020 Which order you want? 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
Tristan93100 Posted April 1, 2020 Author Share Posted April 1, 2020 For each page sub categories of the shop (Top, Manteaux & Vestes, Pantalons, Robes & jupes, Chaussures & accéssoires) : Femme Homme XS S M L XL Link to comment
tuanphan Posted April 1, 2020 Share Posted April 1, 2020 Add to Home > Design > Custom CSS /* this code for desktop ss 70 */ /* check by tuanphan */ @media screen and (min-width:641px) { ul.ProductList-filter-list { display: flex; flex-direction: column; } /* female */ .ProductList-filter-list-item:nth-child(2) { order: 1; } /* Homme */ .ProductList-filter-list-item:nth-child(3) { order: 2; } /* XS */ .ProductList-filter-list-item:nth-child(8) { order: 3; } /* S */ .ProductList-filter-list-item:nth-child(6) { order: 4; } /* M */ .ProductList-filter-list-item:nth-child(5) { order: 5; } /* L */ .ProductList-filter-list-item:nth-child(4) { order:6; } /* XL */ .ProductList-filter-list-item:nth-child(7) { order: 7; } }  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
Tristan93100 Posted April 1, 2020 Author Share Posted April 1, 2020 Thank you ! How to do the same for mobile ? Link to comment
Tristan93100 Posted April 2, 2020 Author Share Posted April 2, 2020 Any idea ? Thanks Link to comment
tuanphan Posted April 2, 2020 Share Posted April 2, 2020 Try this ul.ProductList-filter-list { display: flex; flex-direction: column; } /* female */ .ProductList-filter-list-item:nth-child(2) { order: 1; } /* Homme */ .ProductList-filter-list-item:nth-child(3) { order: 2; } /* XS */ .ProductList-filter-list-item:nth-child(8) { order: 3; } /* S */ .ProductList-filter-list-item:nth-child(6) { order: 4; } /* M */ .ProductList-filter-list-item:nth-child(5) { order: 5; } /* L */ .ProductList-filter-list-item:nth-child(4) { order:6; } /* XL */ .ProductList-filter-list-item:nth-child(7) { order: 7; } Mobile takes more time. Try the code above, if it doesn't work, I will check back in a few days . Hopefully in the meantime someone will provide the answer. 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
Tristan93100 Posted April 3, 2020 Author Share Posted April 3, 2020 18 hours ago, tuanphan said: Try this ul.ProductList-filter-list { display: flex; flex-direction: column; } /* female */ .ProductList-filter-list-item:nth-child(2) { order: 1; } /* Homme */ .ProductList-filter-list-item:nth-child(3) { order: 2; } /* XS */ .ProductList-filter-list-item:nth-child(8) { order: 3; } /* S */ .ProductList-filter-list-item:nth-child(6) { order: 4; } /* M */ .ProductList-filter-list-item:nth-child(5) { order: 5; } /* L */ .ProductList-filter-list-item:nth-child(4) { order:6; } /* XL */ .ProductList-filter-list-item:nth-child(7) { order: 7; } Mobile takes more time. Try the code above, if it doesn't work, I will check back in a few days . Hopefully in the meantime someone will provide the answer. It works it broke the menu 😕 Someone have an idea ? Thanks for your help again ! Link to comment
tuanphan Posted April 4, 2020 Share Posted April 4, 2020 All code Where is category filter on mobile. I don't see????  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
Tristan93100 Posted April 5, 2020 Author Share Posted April 5, 2020 On 4/4/2020 at 4:52 AM, tuanphan said: All code Where is category filter on mobile. I don't see???? Â What do you mean ? Open this url on mobile (pass: 5555pock):Â https://www.fripsix.com/shop It's on the top page Link to comment
tuanphan Posted April 5, 2020 Share Posted April 5, 2020 2 hours ago, Tristan93100 said: What do you mean ? Open this url on mobile (pass: 5555pock): https://www.fripsix.com/shop It's on the top page 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
Tristan93100 Posted April 5, 2020 Author Share Posted April 5, 2020 2 hours ago, tuanphan said: Sorry ! Now the url is :Â https://www.fripsix.com/boutique The order works well on desktop but not on mobile Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.