Liquid, JavaScript, themes, sales channels
Hello,
My site is: eccommerce.us
Is there a way hide all tags except for certain ones that we want?
In this case we want to hide everything except tags with: New, Open Box, or Used
Hi @ineedcsshelp,
Please follow these steps:
- Step 1: Go to Online store > Themes > Actions > Edit code.
- Step 2: Go to Assets > theme.scss.liquid and paste this at the bottom of the file:
.tags-list a{
display: none;
}
.tags-list [href="/collections/all/new"],
.tags-list [href="/collections/all/open-box"],
.tags-list [href="/collections/all/used"]{
display: block !important;
}
Hope it helps!
User | RANK |
---|---|
23 | |
21 | |
8 | |
8 | |
7 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023