Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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!
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025