raafatli Posted May 20, 2013 Share Posted May 20, 2013 I hope I can find any help in this matter, as when trying to upload my logo it says max 292 kb. How to control the size of the logo and is there a specific dimension (length and width)for the logo? Link to comment Share on other sites More sharing options...
vekia Posted May 20, 2013 Share Posted May 20, 2013 you have to check the header.tpl file in your template directory: <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" src="{$logo_url}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /> </a> you can define own width & height by editing code above. anyway, 292KB for logo in my opinion is too much... Link to comment Share on other sites More sharing options...
vekia Posted May 20, 2013 Share Posted May 20, 2013 @raafatli said: Thank you very much, I will follow your advice and keep it as it is. another question please!! so i marked this thread as solved :-) regards Link to comment Share on other sites More sharing options...
yoyou0107 Posted June 4, 2013 Share Posted June 4, 2013 Can you show me where I can upload the logo file? I couldn't find the right option in the back office. Link to comment Share on other sites More sharing options...
vekia Posted June 4, 2013 Share Posted June 4, 2013 Can you show me where I can upload the logo file? I couldn't find the right option in the back office. what prestashop version you use? Link to comment Share on other sites More sharing options...
yoyou0107 Posted June 4, 2013 Share Posted June 4, 2013 Thanks for your reply. I use Prestashop 1.5.3.1 Link to comment Share on other sites More sharing options...
vekia Posted June 4, 2013 Share Posted June 4, 2013 you can upload own logo files in: Preferences > themes Link to comment Share on other sites More sharing options...
hoatbui Posted August 12, 2013 Share Posted August 12, 2013 (edited) <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" src="{$logo_url}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width=250px"{$logo_image_width}"{/if} {if $logo_image_height}height=50px"{$logo_image_height}" {/if} /> </a> Vekia, not sure if I changed the code right. I inserted pixel numbers after width and height but nothing happened to the logo size Edited August 12, 2013 by hoatbui (see edit history) Link to comment Share on other sites More sharing options...
Rajesh Kumar Yadav Posted August 12, 2013 Share Posted August 12, 2013 (edited) Try to resize it in photoshop then upload. You can also do it with css class forcing logo to be resized. Go to global.css and fine #header_logo and just below add new id as shown in below code a#header_logo > img { width:200px; height:200px; } You can change value 200px to as you desired. Edited August 12, 2013 by rajesh.yadav (see edit history) 1 Link to comment Share on other sites More sharing options...
vekia Posted August 12, 2013 Share Posted August 12, 2013 instead the: {if $logo_image_width}width=250px"{$logo_image_width}"{/if} use just width=250px;, nothing mote. the same for height param 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