Hallo,
ich habe mal wieder ein mini Problem.Wenn ihr auf Luba.in | Ein weiteres tolles WordPress-Blog geht seht ihr ja vielleicht, dass über Seiten ein Freiraum ist.Ich will aber, dass Seiten direkt unter dem Header ist und der auf dem Bild rot markierte Bereich weg ist:
http://s2.directupload.net/images/080704/s8nw4k4k.jpg
Hier der Sidebar.php Code:
PHP
<!-- beginn sidebar -->
<style type="text/css">
<!--
.Stil1 {
font-size: 18px;
font-weight: bold;
}
-->
</style>
<div id="seitenleiste">
<p>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
</p>
<h2><?php _e('Pages'); ?>
</h2>
<ul>
<li><a href="<?php bloginfo('url'); ?>">Startseite</a></li>
<?php wp_list_pages('sort_column=menu_order&title_li'); ?>
</ul>
<h2><?php _e('Categories'); ?></h2>
<ul>
<?php if (function_exists('wp_list_cats')) {
wp_list_cats('sort_column=name&optioncount=1');
}
else {
wp_list_categories('sort_column=name&show_count=1&title_li');
} ?>
</ul>
<h2><?php _e('Search'); ?></h2>
<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="text" name="s" id="s" size="20" class="suchfeld" /><br />
<input type="submit" value="Suchen" class="sendebutton" />
</form>
<h2>Werbung</h2>
<ul>
<li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('Posts'); ?></a></li>
<li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments'); ?></a></li>
<?php wp_meta(); ?>
</ul>
<h2>Partner</h2>
<ul>
<?php wp_list_bookmarks('categorize=0&title_li=0'); ?>
</ul>
<?php endif; ?>
</ul>
<?php if (function_exists('wp_theme_switcher')) { ?>
<h2>Styleswitcher</h2>
<?php wp_theme_switcher(); ?>
<?php } ?>
</div><!-- /seitenleiste -->
<!-- ende sidebar -->
Alles anzeigen
Was muss am Code verändert werden, dass dieser Freiraum weg ist? Im Code finde ich selber leider nichts :confused:
Danke für eure Hilfe!
Mit freundlichen Grüßen
Max