Palido Posted January 9, 2014 Share Posted January 9, 2014 Hi, I got a problem with my font-family - it jus uses a wrong font now it looks like this: http://www.palido.at/wrongfont.png but it should use this font: http://www.fontsquirrel.com/fonts/open-sans in the global.css is the open-sans font set - so why does my shop takes the other font? Link to my shop: http://www.palido.at/palidoshop/ Hope someone can help :/ Regards Link to comment Share on other sites More sharing options...
NemoPS Posted January 9, 2014 Share Posted January 9, 2014 It's using open sans for me On which browser are you experiencing the issue? Link to comment Share on other sites More sharing options...
Palido Posted January 9, 2014 Author Share Posted January 9, 2014 I tried it with Chrome, Firefox and IE. does it look for you like the screenshot i posted? (http://www.palido.at/wrongfont.png) Because this is definetely not Open Sans, or am I wrong? Link to comment Share on other sites More sharing options...
NemoPS Posted January 9, 2014 Share Posted January 9, 2014 the "what the font" extension for Chrome says it is, and it's not crossed out in the stylesheet font-family: 'Open Sans', sans-serif; Link to comment Share on other sites More sharing options...
Palido Posted January 9, 2014 Author Share Posted January 9, 2014 (edited) can you post a screenshot how it looks for you? this is my what-the-font looks like: Edited January 9, 2014 by Palido (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted January 9, 2014 Share Posted January 9, 2014 Here http://awesomescreenshot.com/0bc26lc31e Link to comment Share on other sites More sharing options...
Palido Posted January 9, 2014 Author Share Posted January 9, 2014 Here http://awesomescreenshot.com/0bc26lc31e why does it look different on my pc? - http://www.palido.at/font.png Link to comment Share on other sites More sharing options...
NemoPS Posted January 10, 2014 Share Posted January 10, 2014 No idea, is it a mac? OS? Link to comment Share on other sites More sharing options...
Palido Posted January 10, 2014 Author Share Posted January 10, 2014 nope, windows 7/32 bit Link to comment Share on other sites More sharing options...
NemoPS Posted January 10, 2014 Share Posted January 10, 2014 hm, mine too (64 bits though) How did you include the open sans font face? Locally, or remotely? Link to comment Share on other sites More sharing options...
Palido Posted January 10, 2014 Author Share Posted January 10, 2014 where do I find it? Link to comment Share on other sites More sharing options...
NemoPS Posted January 10, 2014 Share Posted January 10, 2014 Okay, I got it. You didn't include open sans, but I can see it as i have it installed. go to google fonts, search for it. It will give you a link rel="stylesheet" like string. Copy it to header.tpl of your theme, BEFORE css files are included Link to comment Share on other sites More sharing options...
Palido Posted January 10, 2014 Author Share Posted January 10, 2014 Okay, I got it. You didn't include open sans, but I can see it as i have it installed. go to google fonts, search for it. It will give you a link rel="stylesheet" like string. Copy it to header.tpl of your theme, BEFORE css files are included it is already included: <head> <title>{$meta_title|escape:'htmlall':'UTF-8'}</title> {if isset($meta_description) AND $meta_description} <meta name="description" content="{$meta_description|escape:html:'UTF-8'}" /> {/if} {if isset($meta_keywords) AND $meta_keywords} <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" /> {/if} <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta http-equiv="content-language" content="{$meta_language}" /> <meta name="generator" content="PrestaShop" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" /> <link rel="icon" type="image/vnd.microsoft.icon" href="{$favicon_url}?{$img_update_time}" /> <link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" /> {* <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> *} <script type="text/javascript"> var baseDir = '{$content_dir}'; var baseUri = '{$base_uri}'; var static_token = '{$static_token}'; var token = '{$token}'; var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; var priceDisplayMethod = {$priceDisplay}; var roundMode = {$roundMode}; </script> {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" /> {/foreach}{/if}{if isset($js_files)} {foreach from=$js_files item=js_uri} <script type="text/javascript" src="{$js_uri}"></script> {/foreach} {/if} {$HOOK_HEADER} </head> Link to comment Share on other sites More sharing options...
Palido Posted January 13, 2014 Author Share Posted January 13, 2014 ok for most of the site it is working now, it just removed the {* before and after the font is included. But only for the buttons and for the search it still uses the wrong font - any idea? Link to comment Share on other sites More sharing options...
NemoPS Posted January 13, 2014 Share Posted January 13, 2014 Well, yes, it was commented out As for the buttons, they are overridden in global.css, line 1936 Link to comment Share on other sites More sharing options...
Recommended Posts