BSP75 Posted August 22, 2018 Share Posted August 22, 2018 (edited) Hi everyone, I would like to put some Font Awesome icons on different pages of my website (product description, "About us", personalised bloc...) by just entering the code of the icon in the "source code". I have tried to put the link from the Font Awesome website (https://fontawesome.com/how-to-use/on-the-web/setup/getting-started?using=web-fonts-with-css) in the header.tpl (themes->classic->template->partials->header.tpl). But I don't know exactly where in the code. Is it the right way to do it ? or there are other ways to generate icons in the source code by just putting the icon code? Thanks in advance for your help! Edited August 29, 2018 by BSP75 (see edit history) Link to comment Share on other sites More sharing options...
BSP75 Posted August 22, 2018 Author Share Posted August 22, 2018 French version: Bonjour à tous, Je cherche à inclure des icônes Font Awesome dans des pages de mon site (description du produit, "Apropos", bloc personnalisé...) en entrant le code de l'icône dans le "code source". J'ai essayé de mettre le code de Font Awesome se trouvant sur le lien ((https://fontawesome.com/how-to-use/on-the-web/setup/getting-started?using=web-fonts-with-css) dans le fichier header.tpl (themes->classic->template->partials->header.tpl). Cependant, je ne sais pas exactement où le placé. Est-ce le bon moyen de le faire? ou existe-t-il d'autres moyens? Merci par avance! Link to comment Share on other sites More sharing options...
Anthony Posted August 27, 2018 Share Posted August 27, 2018 Bonjour, Je pense que le lien est à mettre dans le fichier head.tpl (themes->classic->template->partials->head.tpl). Bonne journée Link to comment Share on other sites More sharing options...
BSP75 Posted August 29, 2018 Author Share Posted August 29, 2018 Bonjour Anthony, Merci pour ta réponse! Je pense avoir trouvé la solution: il suffit de coller le lien dans les fichiers que tu veux modifier juste avant la balise <head>. Bonne journée, Link to comment Share on other sites More sharing options...
Bobolr Posted October 2, 2018 Share Posted October 2, 2018 (edited) BSP75 can you tell me your solution ??? I would like to change font and icons too. Many thanks Edited October 2, 2018 by Bobolr (see edit history) Link to comment Share on other sites More sharing options...
Daniel92230 Posted February 6, 2021 Share Posted February 6, 2021 oui ca serait bien de donner la solution.... Link to comment Share on other sites More sharing options...
solsol69 Posted February 6, 2021 Share Posted February 6, 2021 Bonjour Il y a ce module .je ne l'ai pas testé https://mypresta.eu/modules/front-office-features/material-icons-font-awesome.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now