Shopify themes, liquid, logos, and UX
Hello @retrogamer01
Do you want it like this?
Hello @retrogamer01
There are two ways to add a home icon instead of the home text:
If you prefer to use CSS, add the provided CSS code to your preferred CSS file. If you're unsure where to place it, you can add it inside the <head> tag in the theme.liquid file.
Let me know if you need any assistance!
<style>
/*CSS form dektop device*/
#HeaderMenu-home .header__active-menu-item {
font-size: 0;
}
#HeaderMenu-home .header__active-menu-item::before {
content: "\f015";
font-family: "Font Awesome 6 Free";
font-weight: 900;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: var(--fa-display,inline-block);
font-style: normal;
font-variant: normal;
line-height: 1;
text-rendering: auto;
font-size: 15px;
}
/*CSS for the menu drawer to display a home icon.*/
.menu-drawer #HeaderDrawer-home {
font-size: 0;
}
.menu-drawer #HeaderDrawer-home::before {
content: "\f015";
font-family: "Font Awesome 6 Free";
font-weight: 900;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: var(--fa-display,inline-block);
font-style: normal;
font-variant: normal;
line-height: 1;
text-rendering: auto;
font-size: 15px;
}
</style>
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025