Jump to content

Header Logo


Recommended Posts

I'm working with Prestashop 1.5.2, using theme Asylum from Promokit.eu and wanted to upload a logo. Result: logo not showing. I manually uploaded the logo to .../img/ but the result remained the same. Anyone has any idea how to fix this?

 

This is the code that's in the header.tpl file (.../themes/asylum/).

 

<div id="page" class="clearfix">
  <!-- Header -->
  <div id="header">
   {if isset($theme_settings.logo_type) && $theme_settings.logo_type == 0}
   <a href="{$base_dir}" id="header_logo">
 <img class="logo" src="{$logo_url}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" />
   </a>
   {else}
 <a href="{$base_dir}" class="logo" id="header_logo"
  {if isset($theme_settings.logo_color)}style="color:#{$theme_settings.logo_color}; font-size:{$theme_settings.logo_size}px"{/if}>
  {if isset($theme_settings.logo_text)}
   {$theme_settings.logo_text}
  {/if}
 </a>
 {if isset($theme_settings.slogan)}
  <span class="slogan"{if isset($theme_settings.logo_color)}style="color:#{$theme_settings.logo_color}"{/if}>{$theme_settings.slogan}</span>
 {/if}
   {/if}
   {$HOOK_TOP}
  </div>

Link to comment
Share on other sites

@haylau: simple upload doesn't work. I see the logo where you have to upload it, but it doesn't show on the webpage

 

@tdr170: that's the first thing I looked at, but the settings are fine. There's also nothing in the smarty-cache folder so that's not the solution

 

@istox: when I do a search in the backend, the result is "zero" :-)

Link to comment
Share on other sites

After you uploaded the logo did you check preferences/appearance to see if the logo showed up.

I just did a test and manually uploaded the logo.jpg file and it did not show on the front page.

I looked at appearance and the logo was there so I clicked save just to be sure and the image appeared in the front page.

When you looked at smarty cache did you look in both the cache and compile folders, when clearing the cache you should also clear the compile folder.

Also never hurts with this type of issue to clear your browsers cache.

 

istox

The logo can be found in /theme/img or code in the theme/css/global.css . Type in search Logo and you will see the link.

This is incorrect, the header logo is in the root folder /img

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...