Hallo zusammen,
ich habe noch Probs im Anpassen meines WP-Themes...
---die Zähler für meine kategorien, Archive, etc. werden unterhalb der Bezeichnung angeordnet und nicht re daneben....das Original-Theme sind die CSS-Anweisungen annähernd gleich...stehe grad mal wieder auf dem Schlauch...hier das CSS und die PHP-Datei:
CSS=
Code
/*SIDEBAR*/
#sidebars {
/*border-color: red;
border-width: 1px;
border-style: solid;*/
float: right;
padding-top: 35px;
Margin-right: 0px;
/*Padding-left: 15px;*/
width: 200px;
}
.widget_sidebar {
/*border-color: gray;
border-width: 1px;
border-style: solid;*/
float: left;
width: 150x;
Margin-right: 0px;
Margin-left: 0px;
padding: 0;
}
/*BOX WIDGET*/
.div_wrap_sidebar {
/*border-color: red;
border-width: 1px;
border-style: solid;*/
float: left;
width: 150px;
margin-bottom: 20px;
Margin-right: 0px;
Margin-left: 0px;
Padding: 0px;
}
/*.sidebar_content{
Width:150px;
Margin-left:15px;
Margin-right: 0px;
}
*/
/*Überschrift Widget*/
.widget_sidebar h2 {
font-family: Helvetica,Verdana, Arial, sans-serif;
background-image: url(blog/h2_sidebar.jpg);
background-repeat: no-repeat;
height: 15px;
width: 150px;
line-height: 15px;
font-size: 9px;
color: white;
text-align: center;
font-weight: bold;
font-style: italic;
text-decoration: none;
padding: 0;
margin: 0;
}
.t_sidebar {
background-image: url(blog/top_sidebar.jpg);
background-repeat: no-repeat;
padding: 0;
float: left;
height: 5px;
width: 150px;
}
.b_sidebar {
background-image: url(blog/bottom_sidebar.jpg);
background-repeat: no-repeat;
margin: 0px;
float: left;
height: 10px;
width: 150px;
}
.widget_sidebar h2 {
margin: 0px 0px 10px 0px;
padding: 0;
}
.widget_sidebar ul, .widget_sidebar ul ol {
margin: 0;
padding: 0;
Width: 150px;
Font-weight: bold;
}
/*Zähler für Kategorien*/
.widget_sidebar ul li {
/*border-color: green;
border-width: 1px;
border-style: solid;*/
font-family: Helvetica,Verdana, Arial, sans-serif;
list-style-type: none;
list-style-image: none;
Font-weight:bold;
font-size: 9px;
color: red;
float: left;
Margin-left: 0px;
Width: 150px;
}
.widget_sidebar ul p, .widget_sidebar ul select {
/*margin: 5px 0 10px;*/
Width: 140px;
}
.widget_sidebar ul ul, .widget_sidebar ul ol {
/*margin: 5px 0 0 10px;*/
Width: 140px;
}
.widget_sidebar ul ul ul, .widget_sidebar ul ol {
/*margin: 0 0 0 10px;*/
Width: 140px;
}
.widget_sidebar ol li, .widget_sidebar ul ol li {
list-style: decimal outside;
Width: 140px;
}
.widget_sidebar ul ul li, .widget_sidebar ul ol li {
margin: 0px;
padding: 0;
Width: 140px;
}
/*Kategorie-Bezeichnung*/
.widget_sidebar a:link, .widget_sidebar a:visited {
background-image: url(blog/widget_back01.jpg);
background-repeat: no-repeat;
width: 150px;
height: 15px;
/*border-color: blue;
border-width: 1px;
border-style: solid;*/
Font-weight:normal;
font-size: 9px;
color: #000000;
line-height: 18px;
text-decoration: none;
padding-left: 20px;
margin: 0;
white-space: nowrap;
float: left;
}
.widget_sidebar a:hover, .widget_sidebar a:active {
color: #ffffff;
text-decoration: none;
}
Alles anzeigen
PHP=
PHP
<div id="sidebars">
<div id="searchbox">
<form method="get" action="<?php bloginfo('url'); ?>/">
<div id="searchfield">
<input type="text" class="searchQuery searchQueryIA" id="searchQuery" value="<?php _e('Suche hier...', ''); ?>" name="s" onFocus="this.value=''" onBlur="this.value='Suche hier...'" />
</div><!--ende searchfield-->
<input type="submit" class="submit" value="<?php _e('', ''); ?>" />
</form>
</div><!--ende searchbox-->
<div class="widget_sidebar">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar() ) : ?>
<!--KATEGORIEN-->
<div class="div_wrap_sidebar">
<div class="t_sidebar"></div>
<div class="sidebar_content"><h2>Kategorie</h2>
<ul><?php wp_list_categories('title_li=&show_count=1'); ?></ul>
</div>
<div class="b_sidebar"></div>
</div>
<!--ARCHIV-->
<div class="div_wrap_sidebar">
<div class="t_sidebar"></div>
<div class="sidebar_content"><h2>Archiv</h2>
<ul>
<?php wp_get_archives('type=monthly&show_post_count=1'); ?>
</ul>
</div>
<div class="b_sidebar"></div>
</div>
<?php endif; ?>
</div><!--Ende widget_sidebar-->
</div><!--Ende sidebars-->
Alles anzeigen
Wäre für einen kleinen Tipp sehr dankbar...
creez Sveni