Chris98 Posted September 29, 2015 Share Posted September 29, 2015 Hi all, I was editing some text colors when I noticed that some icon turned into "?" Like in products, when I simulate a purchase, the + and - of quantity are now "?", the home icon too. I've been looking on different topics online but can't seem to find anything. URL: http://www.provence-honey.com/presta I'd appreciate some help, thanks! Chris Link to comment Share on other sites More sharing options...
taydotech123 Posted September 29, 2015 Share Posted September 29, 2015 this issue because your site getting error about FONT, I tried to view your website but your website is maintaince, I can not help you this issue ! Link to comment Share on other sites More sharing options...
Chris98 Posted September 29, 2015 Author Share Posted September 29, 2015 Yes sorry, it is online now... Link to comment Share on other sites More sharing options...
Chris98 Posted September 30, 2015 Author Share Posted September 30, 2015 Anyone? I don't know how to fix an error with FONT.. Thanks Link to comment Share on other sites More sharing options...
taydotech123 Posted September 30, 2015 Share Posted September 30, 2015 your site DO NOT have font: FontAwesome Open this file: your_template/header/tpl. add this line at there: <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> Link to comment Share on other sites More sharing options...
Chris98 Posted September 30, 2015 Author Share Posted September 30, 2015 (edited) Hello taydotech123 I tried but nothing has changed, just in case I empty my browser cache but still no result.. Thanks for trying I appreciate it Edited September 30, 2015 by Chris98 (see edit history) Link to comment Share on other sites More sharing options...
Chris98 Posted September 30, 2015 Author Share Posted September 30, 2015 Christopher, how did you solve this problem? Link to comment Share on other sites More sharing options...
Chris98 Posted September 30, 2015 Author Share Posted September 30, 2015 (edited) your site DO NOT have font: FontAwesome Open this file: your_template/header/tpl. add this line at there: <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> I added the line just after : <link rel="stylesheet" href="{$css_uri|escape:'html':'UTF-8'}" type="text/css" media="{$media|escape:'html':'UTF-8'}" /> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" /> nothing happened. Any idea why? BTW I have FontAwesome here : default-bootstrap/sass Edited September 30, 2015 by Chris98 (see edit history) Link to comment Share on other sites More sharing options...
Chris98 Posted September 30, 2015 Author Share Posted September 30, 2015 I've just put FontAwesome following this tutorial: http://presta-theme-maker.com/2015-09-27/easy-way-to-use-font-awesome-with-prestashop-1-6-x/ Still no changes. Question mark instead of icon. Please help.. Link to comment Share on other sites More sharing options...
razaro Posted September 30, 2015 Share Posted September 30, 2015 You do not need to add FontAwesome it is already included, but it is working for just few icons like card and slider arrows. Problem is that in global.css most of other icons instead some character have ? sign, that is strange and it is possible your text editor made change. Check your code from line 4045 of global.css and compare it with https://github.com/PrestaShop/PrestaShop/blob/develop/themes/default-bootstrap/css/global.css#L4043 and replace most of the code until your 5699. Link to comment Share on other sites More sharing options...
Chris98 Posted September 30, 2015 Author Share Posted September 30, 2015 You do not need to add FontAwesome it is already included, but it is working for just few icons like card and slider arrows. Problem is that in global.css most of other icons instead some character have ? sign, that is strange and it is possible your text editor made change. Check your code from line 4045 of global.css and compare it with https://github.com/PrestaShop/PrestaShop/blob/develop/themes/default-bootstrap/css/global.css#L4043 and replace most of the code until your 5699. Wow yea you're absolutely right! How could this happened? And worse, when I check your link I only see "?" Same when I open my global.css in my backups which I did way before this happened... I really don't get it Link to comment Share on other sites More sharing options...
Chris98 Posted September 30, 2015 Author Share Posted September 30, 2015 You do not need to add FontAwesome it is already included, but it is working for just few icons like card and slider arrows. Problem is that in global.css most of other icons instead some character have ? sign, that is strange and it is possible your text editor made change. Check your code from line 4045 of global.css and compare it with https://github.com/PrestaShop/PrestaShop/blob/develop/themes/default-bootstrap/css/global.css#L4043 and replace most of the code until your 5699. Razaro my friend I want to express my gratitude to you! Thank you very much for taking the time, you were absolutely right! I installed a new editor and opened my backup global.css and there my icons coding were! I just copied and pasted all the lines back to my server and my website is fixed! Merci! Link to comment Share on other sites More sharing options...
Recommended Posts