Shopify themes, liquid, logos, and UX
Hi!
I want to add little labels on my product pictures in the product grid view, that say something like "various sizes" or "various colours", it should look like this (this is the given example product for the crave theme):
Can anyone help me with some CSS code I could add in my custom CSS ?
Thanks a lot in advance for any suggestions!! 🙂
This cannot be done with CSS, you need to modify the liquid code first and then styles can be added.
Oh ok, do you have a suggestion for the liquid code? 🙂
Your searching for "badge" customizations, this will vary wildly depending on theme.
For Dawn based themes plenty of existing topics to research if DIY'ing it.
Example logic {% unless product.has_only_default_variant %}various sizes {% endunless %}
If you need this customization built then contact me by mail for services.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail.
Contact info in signature.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Ok, thank you! 🙂
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn 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, 2025