Jump to content

Logo not showing for mobile view


PeteZ

Recommended Posts

  • 4 months later...

I couldn't find a solution to the problem so in the end I had to hack the code.

 

I changed the header.tpl file on line 93 to point directly to the logo URL. Not ideal but it works.

 

LINE 93 changed FROM
 
<img class="logo img-responsive" src="{$logo_url}" alt="{$shop_name|escape:'html':'UTF-8'}"{if isset($logo_image_width) && $logo_image_width} width="{$logo_image_width}"{/if}{if isset($logo_image_height) && $logo_image_height} height="{$logo_image_height}"{/if}/>
 
 
TO
 
<img class="logo img-responsive" src="http://www.cmsbitz.com/presta/img/logo.jpg" alt="{$shop_name|escape:'html':'UTF-8'}"{if isset($logo_image_width) && $logo_image_width} width="{$logo_image_width}"{/if}{if isset($logo_image_height) && $logo_image_height} height="{$logo_image_height}"{/if}/>
Link to comment
Share on other sites

  • 3 months later...

I experienced this problem on 1.6.0.9 also. I uploaded a logo for my theme at Preferences/Themes/Logo tab which worked fine. When I looked at the Mobile tab the same logo was shown, however when viewing the site on mobile the logo wasn't found and the question mark was shown.

 

I explicitly uploaded the logo again on the Mobile tab and this fixed the problem, since there is now a logo set specifically for mobile.

Link to comment
Share on other sites

×
×
  • Create New...