Jump to content

[solved] Logo size and dimensions?


Recommended Posts

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

  • 3 weeks later...
  • 2 months later...

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

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 by rajesh.yadav (see edit history)
  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...