Hello, how can I use google font icons in my main menu instead of using emoji’s? I’m using DAWN Theme: Glow Curtain: 400 LED-lampjes voor een magische sfeer – InteriorGlows
Topic summary
A user working with Shopify’s Dawn theme wants to replace emoji icons with Google Font icons in their mobile menu drawer.
Solution Provided:
The response outlines a multi-step implementation:
- Add Google Material Icons stylesheet link to the theme’s head section
- Locate the mobile menu items in the theme code
- Use conditional Liquid logic to assign specific icons based on menu item titles
- Insert icon spans before menu link text
A code example demonstrates using {% if %} statements to match menu titles (Home, Shop, Contact) with corresponding Material Icons (home, shopping_bag, mail).
Status: The question appears answered with a technical implementation guide, though no confirmation of successful implementation has been posted.
Hi,
Hope this will help
- Add Google Material Icons to Your Store
Code example for head section
{% if link.title == 'Home' %}
home
{% elsif link.title == 'Shop' %}
shopping_bag
{% elsif link.title == 'Contact' %}
mail
{% endif %}
{{ link.title }}
