LesMarchands Posted February 25, 2021 Share Posted February 25, 2021 Site URL: https://www.lesweekendeurs.ca/fr/creer-ma-boite Hey guys! Is anybody has a code or knows a way to create pellet color background around category tag on mobile? I did this: But i'm looking for something like this: Thanks Y'all! Link to comment
tuanphan Posted March 5, 2021 Share Posted March 5, 2021 On 2/25/2021 at 10:10 PM, LesMarchands said: Site URL: https://www.lesweekendeurs.ca/fr/creer-ma-boite Hey guys! Is anybody has a code or knows a way to create pellet color background around category tag on mobile? I did this: But i'm looking for something like this: Thanks Y'all! Add to Design > Custom CSS /* Category nav */ @media screen and (max-width:767px) { ul.nested-category-children { background: none !important; border: none !important; } ul.nested-category-children a { background: gray; color: white; padding: 5px; border-radius: 10px; margin-bottom: 5px !important; } span.breadcrumb-separator { display: none; } ul.nested-category-children { flex-wrap: wrap !important; padding-left: 0 !important; padding-right: 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
LesMarchands Posted March 5, 2021 Author Share Posted March 5, 2021 Amazing! Thanks Tuanphan! The pellet looks is exactly what i was looking for the only thing is they're stacking instead of sliding like it used to. Link to comment
tuanphan Posted March 12, 2021 Share Posted March 12, 2021 On 3/5/2021 at 9:12 PM, LesMarchands said: Amazing! Thanks Tuanphan! The pellet looks is exactly what i was looking for the only thing is they're stacking instead of sliding like it used to. Remove this line flex-wrap: wrap !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
Archived
This topic is now archived and is closed to further replies.