Moin moin,
Theme "MX4 Theme" hat die tolle Funktion, dass die Sidebar ausgeplandet wird, wenn man zu einer Page (z.B. wechselt).
Ich habe es geschafft die Navigation oben von MX4 in Theme "D2K-Desert" zu übernehmen. Das sieht jetzt so aus: http://www.kuehlsen.de/blog
Ich hätte das jetzt gerne so, dass wenn man auf "Fotos" klickt die entsprechende Seite OHNE die Sidebar erscheint.
In MX4 wird es wohl hiermit gelöst:
PHP
<style type="text/css" media="screen">
body { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgcolor.gif") fixed center top; }
<?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single()) && (! is_page())) { ?>
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg.gif") repeat-y top; border-left: 1px solid #1F3851; border-right: 1px solid #1F3851;} <?php } else { // No sidebar ?>
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.gif") repeat-y top; border-left: 1px solid #1F3851; border-right: 1px solid #1F3851;} <?php } ?>
#header { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickheader.jpg") no-repeat bottom center; }
#footer { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickfooter.jpg") no-repeat bottom; border: none;}
</style>
Leider sagt mir das ganze nicht sooo viel. Kann mir wer helfen!?
Danke und Grüße
Jan