gerstavros Posted November 8, 2014 Share Posted November 8, 2014 Hello I have an odd problem with my site. Suddenly the icons of prestashop are not shown right. I have no idea what happened. How can i fix it? http://dikarto.gr/kinhta-smartphones/45-xiaomi-mi3-snapdragon-800.htmlPhoto: http://s28.postimg.org/43vitfrot/problem213.png Link to comment Share on other sites More sharing options...
Mr Rick Posted November 10, 2014 Share Posted November 10, 2014 Hi, PrestaShop 1.6 uses FontAwesome font for icons, it seems like this font is not loading on your site. Do you remember any edits on site which resulted this?? 1 Link to comment Share on other sites More sharing options...
gerstavros Posted November 10, 2014 Author Share Posted November 10, 2014 (edited) Hello. I don't think so, fonts setting seems right header.tpl: http://pastebin.com/a9zuyAa8 global.css: http://pastebin.com/r67Hv9sy Edited November 10, 2014 by gerstavros (see edit history) Link to comment Share on other sites More sharing options...
Mr Rick Posted November 10, 2014 Share Posted November 10, 2014 if you have firebug installed or from dev tools in chrome you can see that fontawesome is not called from font folder. 1 Link to comment Share on other sites More sharing options...
gerstavros Posted November 10, 2014 Author Share Posted November 10, 2014 if you have firebug installed or from dev tools in chrome you can see that fontawesome is not called from font folder. Yes but...how can i fix it? Fontawasome is declared in the files and i checked it with stock files from prestashop zip Link to comment Share on other sites More sharing options...
gerstavros Posted November 12, 2014 Author Share Posted November 12, 2014 Please any help? Link to comment Share on other sites More sharing options...
Mr Rick Posted November 13, 2014 Share Posted November 13, 2014 (edited) Try adding this to global.css, also make sure your theme folder has font folder with Fontawesome in it @font-face { font-family: 'FontAwesome'; src: url("../font/fontawesome-webfont.eot?v=3.2.1"); src: url("../font/fontawesome-webfont.eot?#iefix&v=3.2.1") format("embedded-opentype"), url("../font/fontawesome-webfont.woff?v=3.2.1") format("woff"), url("../font/fontawesome-webfont.ttf?v=3.2.1") format("truetype"), url("../font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1") format("svg"); font-weight: normal; font-style: normal; } Edited November 13, 2014 by PrestaToolkit (see edit history) Link to comment Share on other sites More sharing options...
gerstavros Posted November 13, 2014 Author Share Posted November 13, 2014 Try adding this to global.css, also make sure your theme folder has font folder with Fontawesome in it @font-face { font-family: 'FontAwesome'; src: url("../font/fontawesome-webfont.eot?v=3.2.1"); src: url("../font/fontawesome-webfont.eot?#iefix&v=3.2.1") format("embedded-opentype"), url("../font/fontawesome-webfont.woff?v=3.2.1") format("woff"), url("../font/fontawesome-webfont.ttf?v=3.2.1") format("truetype"), url("../font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1") format("svg"); font-weight: normal; font-style: normal; } This didn't help. In /themes/default-bootstrap/font folder i have the fontawesome-webfont.woff fontawesome-webfont.ttf fontawesome-webfont.svg fontawesome-webfont.eot FontAwesome.otf as from stock installation... Link to comment Share on other sites More sharing options...
gerstavros Posted November 16, 2014 Author Share Posted November 16, 2014 Why i never have a solution in this forum? :/ Link to comment Share on other sites More sharing options...
El Patron Posted November 17, 2014 Share Posted November 17, 2014 Why i never have a solution in this forum? :/ dude... there are loads of solutions on the forum. sometimes we ask things and it's the answers we don't understand. I read the topic and http://www.prestashop.com/forums/topic/378257-problem-with-site-icons/?p=1862497 part of being good shop manager is that we wear many different hats. Somethings we know others we are learning. learn how to use browser debug tools..preferably chrome...or hire someone to do it for you. Link to comment Share on other sites More sharing options...
gerstavros Posted November 17, 2014 Author Share Posted November 17, 2014 Of course i have searched forum before i post. And i know how to use firebug etc. I know that fonts aren't loaded. But this gives no solution obviously. Files that declare fonts to browser are correct (i checked them with stock prestashop 1.6 files), and fonts are into the folders as should. Can anybody explain why fontawasome isn't loaded, when config files are correct? Link to comment Share on other sites More sharing options...
Tuinkoken Posted March 1, 2015 Share Posted March 1, 2015 Hello, I now find the same problem on a new website I am making. But is there any sollution? Link to comment Share on other sites More sharing options...
gerstavros Posted March 1, 2015 Author Share Posted March 1, 2015 (edited) Hello, I now find the same problem on a new website I am making. But is there any sollution? I fixed it by deleting and re-uploading the stock /theme/default-bootstrap to server. Hope that helps. If not, just avoid using prestashop, it has lots of problems and you almost never find solutions in this forum. It's a pitty for such a cms with lots of features Edited March 1, 2015 by gerstavros (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts