Hallo zusammen,
Ich benutze das Theme "grid responsive" für meinen blog http://www.goodmorningdodoma.ch.
Da ich das Design des Templates verändert habe, wird das Logo in der responsive-Version nicht richtig angezeigt (ist zu breit für Smartphones). Ich habe daher ein eigenes Logo erstellt, welches nur auf Smartphones etc. angezeigt werden soll. Dieses habe ich als logo_i.png abgespeichert sowie in der header-iphone.php verlinkt (siehe Code unten). Trotzdem wird mir immer noch das "normale" logo angezeigt (logo.png). Weiss jemand, ob ich das Bild noch sonst irgendwo angeben muss, damit es erkannt wird?
Ich benutze die neuste Wordpress-Version 3.4.2.
Vielen Dank für eure Rückmeldung und liebe Grüsse,
Nadia
PHP
<div id="header"> <div align="center"> <?php if(get_option($shortname.'_custom_logo_url','') != "") { ?> <a href="<?php bloginfo('url'); ?>"><img src="<?php echo stripslashes(stripslashes(get_option($shortname.'_custom_logo_url',''))); ?>" class="logo" /></a> <?php } else { ?> <a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo_i.png" class="logo" /></a> <?php } ?> </div> </div><!--//header-->