Jump to content

Small problem with header logo


Recommended Posts

Hi everybody.

 

I have a small problem with my site e-caps.dk. The logo you see "Bikes Store" is the logo from the theme. I have uploaded my own logo thorugh the FTP-server, but it doesn't seem to load it :/

 

If i go to Preferences -> Appearance, i see my own logo. And if i open the file on the FTP, i see my own logo.

 

I really don't know what i do wrong - but it seems to be simple. Can anybody help a new prestashopper? :-)

 

Best regards

Link to comment
Share on other sites

this may be the cache problem, try to clear cache both in your browser and in the prestash (turn force compile on).

 

i checked your shop, this is correct logo?

Yco4KQG.png

 

if not, maybe your logo is hardcoded in the template?

Link to comment
Share on other sites

go to the themes / your_theme / header.tpl file

 

by default link to the logo looks 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} />

 

as you can see, there is variable {$logo_url} - this is correct way.

 

maybe in your template you've got an url to the picture instead the {$logo_url} variable

 

can you check it?

Link to comment
Share on other sites

Hmm. I think the header.tpl file in this theme is strange. It looks like this:

 

{if isset($meta_description) AND $meta_description} {/if} {if isset($meta_keywords) AND $meta_keywords} {/if} {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} {/foreach} {/if} {if isset($js_files)} {foreach from=$js_files item=js_uri} {/foreach} {/if} {$HOOK_HEADER} {if !$content_only} {if isset($restricted_country_mode) && $restricted_country_mode}

{l s='You cannot place a new order from your country.'} {$geolocation_country}

{/if}

 

{$HOOK_TOP}

{if $page_name == 'index'}

{$HOOK_LEFT_COLUMN}

{/if}

{/if}

Link to comment
Share on other sites

Hmm. I think the header.tpl file in this theme is strange. It looks like this:

 

{if isset($meta_description) AND $meta_description} {/if} {if isset($meta_keywords) AND $meta_keywords} {/if} {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} {/foreach} {/if} {if isset($js_files)} {foreach from=$js_files item=js_uri} {/foreach} {/if} {$HOOK_HEADER} {if !$content_only} {if isset($restricted_country_mode) && $restricted_country_mode}

{l s='You cannot place a new order from your country.'} {$geolocation_country}

{/if}

 

{$HOOK_TOP}

{if $page_name == 'index'}

{$HOOK_LEFT_COLUMN}

{/if}

{/if}

 

nothing more? Thats all?

 

Maybe your logo is hardcoded in some module attached to the {$HOOK_TOP} section

i know that this may be painfull work, but try to check modules one - by - one

 

list of modules attached to the hook_top you can get in modules -> positions

Link to comment
Share on other sites

×
×
  • Create New...