moretrobin Posted February 28, 2020 Share Posted February 28, 2020 Site URL: https://kindstudio.fr/shop Hi, I'm trying to reorder the categories from my shop page. I've already tried a few replies from the forum but it doesn't seem to work on Brine template. Here's the link to the website I'm working on: https://kindstudio.fr/shop Thanks for your help ! Robin Link to comment
tuanphan Posted February 28, 2020 Share Posted February 28, 2020 Which order do you want? on Desktop/Mobile 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
moretrobin Posted March 1, 2020 Author Share Posted March 1, 2020 On 2/28/2020 at 4:35 PM, tuanphan said: Which order do you want? on Desktop/Mobile Both if possible :) Link to comment
tuanphan Posted March 2, 2020 Share Posted March 2, 2020 22 hours ago, moretrobin said: Both if possible :) Which order item do 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
moretrobin Posted March 2, 2020 Author Share Posted March 2, 2020 3 minutes ago, tuanphan said: Which order item do you want? As below- Thank you so much for your help ! 0. Tout 1. Vestes 2. Tops & chemises 3. Robes 4. Pantalons 5. Pyjama Link to comment
tuanphan Posted March 2, 2020 Share Posted March 2, 2020 Add to Home > Design > Custom CSS /* Table - Desktop */ @media screen and (min-width:641px) { ul.ProductList-filter-list { display: flex; flex-direction: column; } /* tour */ .ProductList-filter-list-item:nth-child(1) { order: 1; } /* vester */ .ProductList-filter-list-item:nth-child(6) { order: 2; } /* top - chemises */ .ProductList-filter-list-item:nth-child(5) { order: 3; } } do similar for other items... 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
moretrobin Posted March 2, 2020 Author Share Posted March 2, 2020 4 hours ago, tuanphan said: Add to Home > Design > Custom CSS /* Table - Desktop */ @media screen and (min-width:641px) { ul.ProductList-filter-list { display: flex; flex-direction: column; } /* tour */ .ProductList-filter-list-item:nth-child(1) { order: 1; } /* vester */ .ProductList-filter-list-item:nth-child(6) { order: 2; } /* top - chemises */ .ProductList-filter-list-item:nth-child(5) { order: 3; } } do similar for other items... Thank you so much it's working !! How can I implement this on mobile as well ? Link to comment
tuanphan Posted March 3, 2020 Share Posted March 3, 2020 @media screen and (max-width:640px) { label:checked+.ProductList-filter-list { display: flex; } /* tout */ .ProductList-filter-list-item:nth-child(1) { order: 6; } } Do similar for other items 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
moretrobin Posted April 10, 2020 Author Share Posted April 10, 2020 On 3/3/2020 at 2:03 PM, tuanphan said: @media screen and (max-width:640px) { label:checked+.ProductList-filter-list { display: flex; } /* tout */ .ProductList-filter-list-item:nth-child(1) { order: 6; } } Do similar for other items Hey, I did add the following code but it doesn't seem to work on mobile. Thanks for your help ! Robin @media screen and (max-width:640px) { label:checked+.ProductList-filter-list { display: flex; } /* tout */ .ProductList-filter-list-item:nth-child(1) { order: 1; } .ProductList-filter-list-item:nth-child(2) { order: 5; } .ProductList-filter-list-item:nth-child(3) { order: 6; } .ProductList-filter-list-item:nth-child(4) { order: 4; } /* top - chemises */ .ProductList-filter-list-item:nth-child(5) { order: 3; } .ProductList-filter-list-item:nth-child(6) { order: 2; } } Link to comment
tuanphan Posted April 11, 2020 Share Posted April 11, 2020 Try this for mobile @media screen and (max-width:640px) { .ProductList-filter-dropdownToggle-checkbox:checked ~ ul { display: flex !important; flex-direction: column; } /* tour */ .ProductList-filter-list-item:nth-child(1) { order: 1; } /* vester */ .ProductList-filter-list-item:nth-child(6) { order: 2; } /* top - chemises */ .ProductList-filter-list-item:nth-child(5) { order: 3; } /* Do similar for other items } 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
moretrobin Posted April 15, 2020 Author Share Posted April 15, 2020 On 4/11/2020 at 10:21 AM, tuanphan said: Try this for mobile @media screen and (max-width:640px) { .ProductList-filter-dropdownToggle-checkbox:checked ~ ul { display: flex !important; flex-direction: column; } /* tour */ .ProductList-filter-list-item:nth-child(1) { order: 1; } /* vester */ .ProductList-filter-list-item:nth-child(6) { order: 2; } /* top - chemises */ .ProductList-filter-list-item:nth-child(5) { order: 3; } /* Do similar for other items } It did the job ! Thank you so much Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.