Jump to content

Icons become question marks


Recommended Posts

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

 

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 by Chris98 (see edit history)
Link to comment
Share on other sites

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

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

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

×
×
  • Create New...