coolcrazy Posted February 28, 2017 Share Posted February 28, 2017 I have a few languages, in the webshop, but every time I have a language and wants to put a logo in that language is at once the logo in all languages, this is also with the ordinary logo. does anyone know how I can get that just in their own language. Link to comment Share on other sites More sharing options...
rocky Posted March 1, 2017 Share Posted March 1, 2017 PrestaShop doesn't have language-specific logos. You'd have to edit themes/default-bootstrap/header.tpl and change line 107 (in PrestaShop v1.6.1.11) from: <img class="logo img-responsive" src="{$logo_url}" alt="{$shop_name|escape:'html':'UTF-8'}"{if isset($logo_image_width) && $logo_image_width} width="{$logo_image_width}"{/if}{if isset($logo_image_height) && $logo_image_height} height="{$logo_image_height}"{/if}/> to something like: <img class="logo img-responsive" src="{$img_dir}logo-{$lang_iso}.jpg" alt="{$shop_name|escape:'html':'UTF-8'}"{if isset($logo_image_width) && $logo_image_width} width="{$logo_image_width}"{/if}{if isset($logo_image_height) && $logo_image_height} height="{$logo_image_height}"{/if}/> Then put the language-specific logos like logo-en.jpg, logo-fr.jpg, etc in the themes/default-bootstrap/img directory. Assuming all the logos are the same size, you can also replace the width and height in the code with hardcoded values. 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