Shopify themes, liquid, logos, and UX
Hi,
Just want to ask help including a small color thumbnail in my submenu. I want it to appear beside each color. Here's a sample of what I want it to look like:
Here's my website for reference. https://fabricapparel.com
Thank you!
Hello @kay_png ,
you can do this by some customization changes.
1. Goto shopify admin.
2. Edit theme code and open navigation related file(header or site-nav).
3. Find {%- for childlink in link.links -%} and add span in <li> tag, like this.
<span class="color" style="background:{{ childlink.title }};"></span>
4. add some css in same file.
<style>
.color {
height: 25px;
width: 25px;
display: block;
border-radius: 50%;
margin: 10px;
}
header li {
display: flex;
}
</style>
5. Output :
Hello,
If you're open to a no-code solution, Meteor Mega Menu would be able to support your icons with ease. I'd take a look at our "Stardust" template.
Just throwing that option out there. I hope this helps 😊
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024