Caesaryk Posted August 22, 2013 Share Posted August 22, 2013 Hello, I am facing issues with the logo size. I understood the prestashop re-size it to the size that can fit with the website, however it is showing bigger than it should in our website. I have checked the global CSS but nothing seems wrong, any help? www.supermart24.com Thanks Link to comment Share on other sites More sharing options...
vekia Posted August 22, 2013 Share Posted August 22, 2013 size of the logo that you see on your website is related to the size that you uploaded in back office. You can change size of the logo in several ways. upload logo with correct image size (related to your theme construction) change logo css styles (width and height params) modify the header.tpl file (inline width and height params value change) 1 Link to comment Share on other sites More sharing options...
Caesaryk Posted August 22, 2013 Author Share Posted August 22, 2013 Hello, Thank you for the help, kindly guide me how to do the last one to change the header.tpl what I do not understand is why this happened? as the logo was showing the right size, and without we do anything it start showing like that? Link to comment Share on other sites More sharing options...
vekia Posted August 22, 2013 Share Posted August 22, 2013 go to: themes/your_theme/header.tpl you've got there something like: <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}/> remove this: {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} and then - define inline style="" tag with own height & width parameteres, for example like this: <img class="logo" src="{$logo_url}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" style="width:100px; height:50px;"/> you must use own correct width & height values 1 Link to comment Share on other sites More sharing options...
Caesaryk Posted August 22, 2013 Author Share Posted August 22, 2013 Thank you this helped. Link to comment Share on other sites More sharing options...
vekia Posted August 22, 2013 Share Posted August 22, 2013 glad to hear that it works as you expected im going to mark this topic as [sOLVED] if you will have any questions related to this thread - feel free to continue discussion best regards Link to comment Share on other sites More sharing options...
Recommended Posts