Jump to content

[SOLVED] How To Have Different Logos For Different Themes?


Recommended Posts

You could edit header.tpl in each theme and change source of logo image.

By default it takes path from image that you define in back office.

  <!-- Header -->
  <div id="header" class="grid_9 alpha omega">
   <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>

 

But you can place image for example themelogo.png in theme img folder and change part of above code to

<img class="logo" src="../img/themelogo.png" alt="{$shop_name|escape:'htmlall':'UTF-8'}" width="200" height="40"/>

Note that you have to set width and hight manually.

  • Like 2
Link to comment
Share on other sites

×
×
  • Create New...