rachyb Posted March 25 Share Posted March 25 I would like the categories displayed e.g. small originals, to be smaller. I have tried using other code i've found in forums but it doesn't work. I currently have this code in my custom css: @media screen and (max-width: 575px) { .products.collection-content-wrapper .nested-category-children { align-items: center; flex-direction: column; overflow-x: hidden; } .nested-category-breadcrumb-list-item .breadcrumb-separator { display: none; } } This is used to make the category tiles stacked on mobile view. I would like to add new code to make the font size smaller on desktop view, without changing the code that's already there to stack the categories on mobile view. I'm not sure how to add more code when there is already code there. Thanks! Rachel Link to comment
justinjamesclack Posted March 25 Share Posted March 25 1 minute ago, rachyb said: I would like the categories displayed e.g. small originals, to be smaller. I have tried using other code i've found in forums but it doesn't work. I currently have this code in my custom css: @media screen and (max-width: 575px) { .products.collection-content-wrapper .nested-category-children { align-items: center; flex-direction: column; overflow-x: hidden; } .nested-category-breadcrumb-list-item .breadcrumb-separator { display: none; } } This is used to make the category tiles stacked on mobile view. I would like to add new code to make the font size smaller on desktop view, without changing the code that's already there to stack the categories on mobile view. I'm not sure how to add more code when there is already code there. Thanks! Rachel Try this code, to see if it works; .product.collection-content-wrapper .nested-category-children .nested-category-item { font-size:14px !important; } Adjust the font size to your liking. Link to comment
rachyb Posted March 25 Author Share Posted March 25 thanks - unfortunately it didn't change anything Link to comment
Solution justinjamesclack Posted March 25 Solution Share Posted March 25 8 minutes ago, rachyb said: thanks - unfortunately it didn't change anything My apologies, let's try this code instead; .products.collection-content-wrapper .nested-category-breadcrumb-link { font-size: 14px !important; } Link to comment
justinjamesclack Posted March 25 Share Posted March 25 Let me know if the code works and if it has can you click solved 🙂 Link to comment
rachyb Posted March 25 Author Share Posted March 25 thanks it worked!! justinjamesclack 1 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