Hi everyone!
I’ve been playing around with the CSS as I have a size variant that was showing up bulleted and with a margin. Below is the code I have put in.
This works great and has solved the issue on the Product Cards, however it is affecting my Mobile Nav and Sort list.
Is there a way to isolate the ul to just be for the products? I don’t want anything else in the site to be affected. I’ve tried putting the CSS only on the section but the Sort list still gets affected.
You can see what’s happening here https://eastend-wardrobe.myshopify.com/collections/all
Thank you!
ul {
list-style-type: none;
margin: 0px;
padding: 0px;
display: flex;
column-gap: 10px;
}
1 Like
Hi @angelicahidalgo
Add some parent names on the or wrapper ul. Example:
ul.collection__filter-tags.collection__filter-tags--default {}
.collection__sort-bar .collection__sort__option-wrapper ul {}
If you like to show only in the that specific section of the collection then you add the collection template name with number.
div#Collection--template--17257420947676__main {}
I add flex-direction to your code.
But if you like in horizontal you need to adjust the width.
Your code is right but there is a lot of ul tag in the website. So you need to be specific which ul you like to call.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Woo hoo! That worked thanks so much! 
I ended up adding the parent as you said and it worked perfectly.
.collection__products ul {
list-style-type: none;
margin: 0px;
padding: 0px;
display: flex;
column-gap: 10px;
}
1 Like