Hallo erstmal hier im Forum. Ich hab euch über Google gefunden und hoffe ihr könnt mir bei meinem Problem helfen. Mein Blog (Wordpress + Theme Rebel) hat Probleme die Sidebar richtig darzustellen.
Ich vermute zwei Dateien, die dieses Problem verursachen:
sidebar.php
PHP
<div id="sidebar">
<div class="rss">
<h1><a href="<?php bloginfo('url'); ?>?feed=rss2">RSS abonnieren</a></h1>
<a href=""><img alt="" src="<?php bloginfo('url'); ?>/wp-content/themes/rebel/images/readers.gif"/></a>
</div>
<div class="ads">
<a href=""><img alt="" src="<?php bloginfo('url'); ?>/wp-content/themes/rebel/images/125x125.png"/></a>
<a href=""><img alt="" src="<?php bloginfo('url'); ?>/wp-content/themes/rebel/images/125x125.png"/></a>
<a href=""><img alt="" src="<?php bloginfo('url'); ?>/wp-content/themes/rebel/images/125x125.png"/></a>
<a href=""><img alt="" src="<?php bloginfo('url'); ?>/wp-content/themes/rebel/images/125x125.png"/></a>
</div>
<div class="rsidebar">
<ul>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?>
<?php wp_list_categories('show_count=0&title_li=<h2>Kategorien</h2>'); ?>
<li><h2>Archiv</h2>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</li>
<?php wp_list_bookmarks(); ?>
<li><h2>Meta</h2>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="<?php bloginfo('url'); ?>?feed=rss2">Einträge (RSS)</a></li>
<li><a href="<?php bloginfo('url'); ?>?feed=comments-rss2">Kommentare (RSS)</a></li>
<?php wp_meta(); ?>
</ul>
</li>
<?php endif; ?>
</ul>
</div>
<div class="video">
<h2>Featured Video</h2>
<p>
<iframe width="270" height="190" src="http://www.youtube.com/embed/-F_ke3rxopc" frameborder="0" allowfullscreen></iframe>
</p>
</div>
</div>
Alles anzeigen
und der entsprechende Code in der CSS:
Code
#sidebar{float:left;width:290px;margin:0px;padding:0px;font: 11px Verdana;}
.rss {float:left;width:288px;height:37px;background:url('images/rssbg.gif') no-repeat;border:1px solid #CCCCCC;padding-top:8px;margin-bottom:14px;}
.rss h1 {float:left;width:73px;margin:0px;font:11px Verdana;color:#000000;font-weight:bold;padding-left:50px;padding-right:15px;}
.rss h1 a {color:#000000;font-weight:bold;}
.rss a {color:#CC0000;font-weight:normal;}
.ads {float:left;width:288px;border:1px solid #CCCCCC;padding-top:8px;margin-bottom:14px;}
.ads img {float:left;margin-left:8px;margin-right:8px;margin-bottom:8px;border:1px solid #000000;}
.rsidebar{font: 13px Verdana;color:#303030;float:left;width:288px;}
.rsidebar h2{margin:0px;font:11px Verdana;font-weight:bold;color:#000000;text-transform:uppercase;padding-top:12px;padding-bottom:4px;border-bottom:1px dotted #B6B6B6;}
.rsidebar a {font-weight:normal;}
.rsidebar ul{list-style-type:none;margin:0;padding:0;padding-top:0px;}
.rsidebar ul li{float:left;width:272px;list-style-type:none;margin:0 0 0px;padding:0;padding-left:0px;border:1px solid #CCCCCC;margin-bottom:14px;padding-left:8px;padding-right:8px;}
.rsidebar ul li ul{float:left;list-style-type:square;margin:0;padding:0 0px;padding-top:11px;padding-bottom:20px;}
.rsidebar ul li ul li{float:left;width:124px;height:24px;list-style-type:none;border:0px none;margin:0;padding-left:4px;background:url('images/nav.gif') no-repeat;}
.rsidebar ul li ul li a {padding-left:15px;font:11px Verdana;font-weight:normal;color:#000000;line-height:24px;}
.rsidebar ul li ul li a:visited {color:#000000;font-weight:normal;}
.rsidebar ul li ul li a:hover {text-decoration:none;color:#336699;}
.rsidebar ul li ul li:hover {}
Alles anzeigen
Danke schon mal im Voraus für eure Hilfe.
Grüße
Katrin
ne8de neu hier Beiträge: 1Registriert: 16.11.2011, 13:35