How to add font Awesome to your Shopify store
Font Awesome is a font and icon toolkit based on CSS and LESS. If yoy want to setup Font Awesome on your Shopify store, please follow the steps below:
- From your Shopify admin, to to Online Store > Theme.
- Find the theme you want to edit and then click Action > Edit code.
- n the Layouts directory, click themes.liquid to open it in the online code editor.
- In the online code editor, add the below code before close </head> tag.
- Click Save and you are done.
Now, you can place Font Awesome icons just about anywhere using a style prefix and the icon’s name.
You need to know two bits of information to reference an icon.
- Its name, prefixed with fa-
- The style you want to use’s corresponding prefix.
You can see cheatsheet here.
Thank you so much for the tip!
Thank u so much
Super useful, clean and quick solution, Thanks!